[GRASS-user] G_malloc: out of memory

Kurt Springs ferret_bard at mac.com
Thu Nov 20 15:59:34 EST 2008


I am running into a problem I've never seen before.  I was trying to  
digitize a vector file.  I had imported it from a dxf file and was  
trying to close up some vectors points.  Suddenly v.digit closed, and  
when I tried to reopen I got:

v.digit(4314,0xa0371fa0) malloc: *** mmap(size=1207963648) failed  
(error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

G_malloc: out of memory

When I tried to open my raster map I got:


PNG: GRASS_TRUECOLOR status: TRUE

PNG: collecting to file: /Users/kurtsprings/grassdata/OSI0834/ 
PERMANENT/.tmp/Kurt-Springs-MacPro.local/4266.0.ppm,

      GRASS_WIDTH=309, GRASS_HEIGHT=482
d.rast(4325) malloc: *** mmap(size=1206358016) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

G_malloc: out of memory

I tried opening a different project location and it still works.  Can  
anyone tell me what is wrong and how to get this project location up  
and running again, or what went wrong to begin with.

Kurt


More information about the grass-user mailing list