memory reporting question
Matt Funk
mafunk at nmsu.edu
Thu Sep 17 18:04:09 CDT 2009
Hi,
I am wondering whether the -memory_info option and the
PetscMemoryGetMaximumUsage() call report different things.
The reason i am asking is because i call the PetscMemoryGetCurrentUsage fcn in
my code and it shows:
5.25558e+08.
At the end of the run the -memory_info option reports:
max process malloc()'ed: 4.00524e+08
max petsc malloc()'ed: 1.15254e+08.
So i am a little confused by those numbers unless the fcn call is the more
complete picture (as said on the manual page)
I guess then my question is whether the -memory_info corresponds to the
PetscMalloc* fcns?
thanks
matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090917/d637ac28/attachment.htm>
More information about the petsc-users
mailing list