Message1
Going by previous exchanges on the mailing lists,
this seems to be a known problem.
When a execfile() or eval() is repeatedly
executed in a long running java process, a
new class gets created on every invocation.
This class does not get garbage collected
as long as the classloader which loaded it
is around.
This leads to a bloat of the java process
size (not in the heap, but in the code blocks).
Eval is kind of dispensable, but execfile is
not. One easy fix would be to cache the generated
class and reuse it the next time execfile is
called.
I can readily provide those patches. Is this
acceptable or is a different solution already
in the works ?
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:36 | admin | link | issue221738 messages |
2008-02-20 17:16:36 | admin | create | |
|