[petsc-users] Memory Accumulation
Jed Brown
jedbrown at mcs.anl.gov
Thu Aug 30 18:28:14 CDT 2012
On Thu, Aug 30, 2012 at 6:18 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> It is easy to simply using -malloc -malloc_debug -malloc_dump to see all
> the memory that was allocated and not freed.
With petsc-3.3 and later, just export PETSC_OPTIONS=-malloc_test. It does
the same as above in debug mode, but turns it off for optimized builds so
you can just export it in your environment and forget about it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120830/85c9110a/attachment.html>
More information about the petsc-users
mailing list