> Out of memory trying to allocate 112032952 bytes You have 2-3 GB memory limit [per proc] in 32bit mode.
If you really need more than 3GB of memory for this app, you can move to a 64bit OS/machine with sufficient memory. [you can do 64bit compiles on OSX 10.4-ppc and perhaps 10.5-intel] Aron, 100 MB is the request for current malloc - that failed. [Previous mallocs might have already allocated close to 2-3GB memory] Satish On Wed, 5 Mar 2008, Aron Ahmadia wrote: > 112032952 bytes is about 100 MB. > > Are you really running out of memory or is something else going on? > > ~A > > On Wed, Mar 5, 2008 at 7:00 PM, Gideon Simpson <grs2103 at columbia.edu> > wrote: > > I'm getting the following error with some code, running on a serial > > machine with, i think, 3 gigs of memory. Is there anyway to > > circumvent this error by being clever, or do I really need to go to a > > distributed memory machine? > > > > -gideon > > > > Out of memory trying to allocate 112032952 bytes > > [0]PETSC ERROR: > > ------------------------------------------------------------------------ > > [0]PETSC ERROR: Caught signal number 10 BUS: Bus Error, possibly > > illegal memory access > > [0]PETSC ERROR: Try option -start_in_debugger or - > > on_error_attach_debugger > > [0]PETSC ERROR: or see > > http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal > > [0]PETSC ERROR: or try http://valgrind.org on linux or man libgmalloc > > on Apple to find memory corruption errors > > [0]PETSC ERROR: likely location of problem given in stack below > > [0]PETSC ERROR: --------------------- Stack Frames > > ------------------------------------ > > [0]PETSC ERROR: Note: The EXACT line numbers in the stack are not > > available, > > [0]PETSC ERROR: INSTEAD the line number of the start of the > > function > > [0]PETSC ERROR: is given. > > [0]PETSC ERROR: [0] PCSetUp_HYPRE line 95 src/ksp/pc/impls/hypre/hypre.c > > [0]PETSC ERROR: [0] PCSetUp line 764 src/ksp/pc/interface/precon.c > > [0]PETSC ERROR: [0] KSPSetUp line 183 src/ksp/ksp/interface/itfunc.c > > [0]PETSC ERROR: [0] KSPSolve line 305 src/ksp/ksp/interface/itfunc.c > > [0]PETSC ERROR: --------------------- Error Message > > ------------------------------------ > > [0]PETSC ERROR: Signal received! > > [0]PETSC ERROR: > > ------------------------------------------------------------------------ > > [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 8, Fri Nov 16 > > 17:03:40 CST 2007 HG revision: 414581156e67e55c761739b0deb119f7590d0f4b > > [0]PETSC ERROR: See docs/changes/index.html for recent updates. > > [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. > > [0]PETSC ERROR: See docs/index.html for manual pages. > > [0]PETSC ERROR: > > ------------------------------------------------------------------------ > > [0]PETSC ERROR: ./bulk3d on a darwin8.1 named > > valkyrie.appmath.columbia.edu by gideon Wed Mar 5 15:53:26 2008 > > [0]PETSC ERROR: Libraries linked from /Users/gideon/software/ > > petsc-2.3.3-p8/lib/darwin8.11.1-cxx-debug > > [0]PETSC ERROR: Configure run at Thu Jan 10 11:00:45 2008 > > [0]PETSC ERROR: Configure options --with-clanguage=cxx --with-mpi-dir=/ > > Users/gideon/software --with-mpi-shared=1 --with-x11 --download- > > hypre=1 --with-hypre=1 --download-umfpack=1 --with-umfpack=1 --with- > > shared=1 --with-dynamic=1 > > [0]PETSC ERROR: > > ------------------------------------------------------------------------ > > [0]PETSC ERROR: User provided function() line 0 in unknown directory > > unknown file > > > > > > > > > >
