Memory leak in JPython beta 2

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Tue Oct 5 18:53:50 EDT 1999


>>>>> "BAW" == Barry A Warsaw <bwarsaw at cnri.reston.va.us> writes:

    BAW> Most JVMs don't free memory associated with classes, even
    BAW> when the classes are no longer reachable.  For this reason,
    BAW> the exec() method in JPython leaks.  JimH has given me a
    BAW> patch which may fix the problem, but I haven't had time to
    BAW> look at it in detail yet.

Just to follow up; I took a look at JimH's patch and indeed it does
seem to quash JPython memory leaks in the face of gazillions of
exec()s.  So I'll probably check this in some time soon.  Watch the
CVS tree if you're desperate. :)

-Barry




More information about the Python-list mailing list