memory problem

Matthew Knepley knepley at gmail.com
Fri Jul 6 08:26:43 CDT 2007


Here "maximum memory" means all the memory that has
been PetscMalloced. Some of this might have been freed,
but we do not keep track. However, it looks like you are
trying to allocate 1G. Also, it looks like you truncated the
stack trace. Can you send the entire trace to petsc-maint at mcs.anl.gov?

  Thanks,

    Matt

On 7/6/07, li pan <li76pan at yahoo.com> wrote:
> Dear developers,
> I still have problem with memory allocation. As
> example, I used mesh size of 128 x 128 x 35, and got
> the following error message,
> [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] Maximum memory PetscMalloc()ed 1815995752 maximum
> size of entire process 0
> [0]PETSC ERROR: Memory requested 1082172680!
>
> How should I understand "Maximum memory "? Is it
> maximum memory size a process can allocate?
>
> kind regards
>
> pan
>
>
>
>
> ____________________________________________________________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list