[TransWarp] memory leak in peak.running
alexander smishlajev
alex at ank-sia.com
Fri Aug 22 15:43:20 EDT 2003
Phillip J. Eby wrote, at 22.08.2003 22:13:
>> the following script is leaking memory:
>
> Have you already tried adding a gc.collect() call to make sure that it's
> not just buildup between collections?
yes. we have tried to do gc.collect() and look at gc.garbage in our
application. this did not help. the garbage list is always empty, but
the application core grows from ~8M to more than 150M by one night -
several Kb per second.
i managed to narrow the problem down to the given example.
i have studied the code of MainLoop, UntwistedReactor, TaskQueue and
AdaptiveTask, and i must confess that i cannot see any possible leakage
sources there. do you have any clues?
just to be sure, i have just added gc.collect() to the doWork() of this
Test class. this slowed things down a lot (also leakage is much
slower), but the memory is still leaking.
best wishes,
alex.
More information about the PEAK
mailing list