|
From: Joseph C. <jca...@in...> - 2001-07-17 18:24:01
|
Having a fairly large problem....
I am currently using jython in a java embedded environment. What is being
done is Python code snips are being held in a database and based on
information gotten via network protocol are pulled in compiled and used, the
python source is held onto in a cache and the next time it is needed it is
recompiled.
So we have a situation like:
class helper():
def helpercode:
Blah Blah
class rule(helper):
def isAlert(self, data):
Blah Blah
As example code from the DB.
The problem I seem to be having is that the JVM is holding onto a great
number of PyStrings, and pycode _pyx#### objects which are not being cleaned
up by the GC. Is this a known bug, or am I possobly doing something wrong in
code that is forcing the VM to hold references it shouldn't?
Thanks,
Joe
--
"Every new beginning comes from some other beginnings
end."
-- Semisonic
-----------------------------------------------------
Joseph Campbell | EMAIL: joe...@in...
Staff Consultant | URL: www.inventa.com
Inventa Technologies | PH: (856)914-5224
| CELL: (609)972-0297
-----------------------------------------------------
|