thanks for the swift reply. This didn't give any output.
Gesendet: Dienstag, 24. Dezember 2019 um 23:56 Uhr
Von: "Mark Adams" <[email protected]>
An: "Marius Buerkle" <[email protected]>
Cc: "petsc-usersmcs.anl.gov" <[email protected]>
Betreff: Re: [petsc-users] possible memory leak
Von: "Mark Adams" <[email protected]>
An: "Marius Buerkle" <[email protected]>
Cc: "petsc-usersmcs.anl.gov" <[email protected]>
Betreff: Re: [petsc-users] possible memory leak
Try running with -malloc_debug
This should print out where unfreed memory was allocated. See what pops up.
Mark
On Tue, Dec 24, 2019 at 2:27 AM Marius Buerkle <[email protected]> wrote:
Hi,
In my code I create and destroy during one run a lot of MPIAIJ matrices and it seems that not all memory is freed when I destroy the matrices. Moreover, it looks like the amount of “disappearing” memory increases with the number of processes. I am not so sure if I am doing something wrong or if it is really a memory leak. I have attached a simple reproducer.
Best,
Marius
