[gecode-users] Memory problem

Guido Tack tack at ps.uni-sb.de
Thu Aug 28 08:20:36 CEST 2008


Gustavo Gutierrez wrote:
> After trying the same problem occurs. Is there a way to instrument  
> gecode to use a different allocator for memory?, i mean, something  
> similar to STL in which many of the data structures provided take an  
> optional allocator template parameter.

All allocation in Gecode happens through the functions in gecode/ 
support/memory.icc.  You could try replacing the calls  
to ::malloc, ::realloc, and ::free there.

Cheers,
	Guido





More information about the gecode-users mailing list