Skip to content

Pardiso leaks memory #593

Open
Open
@termi-official

Description

@termi-official

Describe the bug 🐞

Pardiso leaks memory. This is an issue for long-running simulations with potentially thousands of linear solve calls.

Expected behavior

Pardiso should not leak memory.

Minimal Reproducible Example 👇

See this comment in the extension

# Pardiso.set_phase!(cache.cacheval, Pardiso.RELEASE_ALL)

Additional context

I am pretty sure we should call phase -1 after each solve (or at least phase 0) to release the internal buffers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions