Page 1 of 1

More on "Memory Leaks"

PostPosted: Aug 26, 2004 @ 12:38pm
by mervjoyce

PostPosted: Aug 26, 2004 @ 2:34pm
by kornalius
The reason you get this leak is because in the second loop you don't assign the returned value from GetCSV() to any variable. This value is then added to the garbage collection and only freed at the end of the program, therefore still there during the loop.

I will try to find a way to tighten the garbage collector in cases like that.

PostPosted: Aug 26, 2004 @ 4:03pm
by kornalius
Ok, the garbage collector is way more precise now. It doesn't wait for the end of the procedure or the end of the program to clean it's collection. Every internal command does it's garbage cleanup now. I get no memory leak anymore this way.

Thanks for taking the time to do these testings, it helps me a whole lot. I have some much to do for PPL.

PostPosted: Aug 26, 2004 @ 9:57pm
by mervjoyce

PostPosted: Aug 27, 2004 @ 12:02am
by kornalius

PostPosted: Aug 27, 2004 @ 4:53pm
by kornalius