[gecode-users] Issue with memory on Gecode/J
malcolmr at cse.unsw.edu.au
Thu Nov 20 00:46:14 CET 2008
I've had similar experiences. Gecode/J has memory leaks in the
interface code. Since Gecode/J is no longer supported, I think you're
probably out of luck. (One of the reasons why I am migrating to C++).
On 20/11/2008, at 8:52 AM, Jorge Sanchez wrote:
> I am writing because I have been noticing a memory issue on Gecode/
> J. I
> wanted to see if anyone has experienced something similar to what I am
> I have an application which generates Gecode/J CLPs, compiles, loads,
> and runs the solver on them. I am noticing that after I generate
> problems, my memory usage (looking at 'top') keeps increasing. I am
> looking at the garbage collector output, using the -verbose:gc flag
> invoking the jvm, and it is reporting much lower memory usage than
> I see through top. I've also looked at profiler dumps using hprof, and
> all the Java objects seem to be getting collected properly. I am
> this was an issue with the interface from Java to C, so i tried making
> explicit calls to Space.delete() with no improvement. In an old post
> I read there had been an issue with the Java wrapper, which leads me
> think, maybe there is something still amiss(?).
> Does anyone have any knowledge of what may be causing this?
> I am using Gecode/J 2.2.0 under Sun JVM 1.6.0_06-b02, in a 2.6.24
> I also compiled the Gecode libraries with gcc 4.2.3
> Jorge Sanchez
> Developer I
> EDAptive Computing, Inc.
> 1245-G Lyons Road, Dayton OH 45458
> Phone: (937) 281-0783
> CONFIDENTIALITY NOTICE: The information transmitted is intended only
> for the person or entity to which it is addressed and may contain
> company proprietary and/or privileged material. Any review,
> retransmission, dissemination or other use of, or taking of any
> action in reliance upon, this information by persons or entities
> other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and destroy any copies of
> this document.
> Gecode users mailing list
> users at gecode.org
More information about the gecode-users