[petsc-dev] Petsc memory usage w/ top

Jed Brown jedbrown at mcs.anl.gov
Fri Dec 2 21:09:14 CST 2011


On Fri, Dec 2, 2011 at 21:06, Dave Nystrom <Dave.Nystrom at tachyonlogic.com>wrote:

> It seems that whenever I am running my code with petsc and run top on linux
> it reports that my code is running something like 24-25 GB of memory, even
> if
> I am running a smallish problem.  Is this normal?  I just had a problem
> terminate because it ran out of memory and I had no idea that I was pushing
> any memory boundaries.  I actually don't think the problem should have run
> out of memory but this behavior with top seems to keep it from being a
> useful
> tool for getting a sense of how much memory my code is using.
>

1. Check -log_summary to see which object types the large allocations are
coming from.

2. What are you running?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111202/a5d6ff23/attachment.html>


More information about the petsc-dev mailing list