Re: Memory Leak in "schedule"

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Dec 9, 2003, at 8:39 PM, Marcin Pilat wrote:

> 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.

I'm unable to reproduce the problem with the file that you sent.  I 
tried increasing the number of objects to  800 (from 80) and the 
frequency of scheduled calls to every .1 seconds (from 1.0 seconds).  I 
then let the simulation run and saw that after the first few simulated 
seconds, memory usage levelled off and didn't increase anymore.

Can you retest this?

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
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.