[gecode-users] memory management problem (newbie)

Luis Otero loteroc at gmail.com
Fri Jun 16 18:22:47 CEST 2006


Hi,
I copied the sudoku-set example into a new class (inheriting directly
from Space instead of Example).
It works fine (shouldn't it) but I just discovered that in an endless
loop (new and delete forever) the memory usage grows without limit.
I attached the code just in case somebody can help me. Sure I am doing
something wrong but I don't know what.

Thanks, L.

-- 
No hay nada más cobarde que un millón de dolares.
-- Dicho americano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sudoku-set.C
Type: application/octet-stream
Size: 2006 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20060616/86c4795c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sudoku-set.h
Type: application/octet-stream
Size: 1231 bytes
Desc: not available
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20060616/86c4795c/attachment-0001.obj>


More information about the gecode-users mailing list