[gecode-users] Controlling memory use

Malcolm Ryan malcolmr at cse.unsw.edu.au
Sun Mar 30 07:53:03 CEST 2008


My searches in Gecode/J are crashing when with messages like:

java(221,0xb0801000) malloc: *** mmap(size=65536) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
terminate called after throwing an instance of 'Gecode::MemoryExhausted'
   what():  Memory: Heap memory exhausted

Is there any way to avoid these, or at least to make the search fail  
more gracefully?

Malcolm




More information about the gecode-users mailing list