question about total allocated memory

li pan li76pan at yahoo.com
Fri Jun 29 06:20:19 CDT 2007


Dear developers,
I have a question about total allocated memory:
I run my code under a PC with 2GB memory and got
following error
-----------------------------------------------------------------------
[0]PETSC ERROR: PetscMallocAlign() line 62 in
src/sys/src/memory/mal.c
[0]PETSC ERROR: Out of memory. This could be due to
allocating
[0]PETSC ERROR: too large an object or bleeding by not
properly
[0]PETSC ERROR: destroying unneeded objects.
[0]PETSC ERROR: Memory allocated 1234050304 Memory
used by process 1099702272
[0]PETSC ERROR: Try running with -malloc_dump or
-malloc_log for info.
[0]PETSC ERROR: Memory requested 766976840!

Then I run it at another PC with 4GB memory. But got
the same error. My question is, what the total memory
needed. Is that 1234050304 + 766976840 ?

kind regards

pan


       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/




More information about the petsc-users mailing list