Memory Leak in "schedule"

"Marcin Pilat" <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <000001c3bebe$79779690$6401a8c0@dabear>
Hello.

 

We found a quite serious memory leak in Breve.  It seems that the memory
leak happens both under the windows version and OSX version of Breve.
Jon, could you please have a look at this and let us know how fast this
leak can be fixed.  We are running some critical simulations and this
leak is enough to slow the simulations down to a crawl within a few
hours.

 

The leak is due to the "schedule" method.  Something in there is not
being freed after the scheduled method call.  I'm attaching a simple
test file to demonstrate this - in that simulation the memory increases
at a rate of about 4KB/sec.  This can be attained by calling the
schedule method from within a group of mobile objects every few seconds
or so.  Increasing the number of calls increases the leak.

 

Please let us know,

 

Marcin

Evolutionary & Swarm Design Group, University of Calgary

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
leak-test.tz (application/octet-stream, 459 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.