Re: garbage collection
Marcin Pilat <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <0HVM00E1LUI1NF@l-daemon> |
While on the topic, I noticed a large memory leak in the == operator for
lists. When using the == operator on 2 level lists (e.g.
{{1,2,2,3},{2,3,3,5},{3,4,4,5}}) memory grows very quickly reaching maximum
when breve just exits. When I substituted the == operator with my own
function that checks each corresponding value, the memory use is constant.
Version:
Breve 1.9b for windows
BTW, thanks for the movie recording in 1.9b - it's a very useful feature and
now I don't need external programs to capture video from the simulations.
Marcin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Rick Giuly
Sent: April 3, 2004 9:48 PM
To: [email protected]
Subject: [breve] garbage collection
There must be something wrong with the breve's ability to free memory.
The following code will run all the way up to 100megs of memory usage.
for i=0, i<200000, i+=1: {
a = new Shape.
free a.
}
version:
breve 1.9b, windows
-rick
_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve