Open
Description
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
LinearSolve.jl/ext/LinearSolvePardisoExt.jl
Line 150 in 6f8c1cf
Additional context
I am pretty sure we should call phase -1 after each solve (or at least phase 0) to release the internal buffers.