We are hitting an OOM due to slow finalize in PyGenerator. A heap dump
showed that 1G of memory was occupied by finalizers of this class.
As we are using Jython heavily, object destruction is too slow compared
with object creation.
Is it possible to not override finalize in PyGenerator to improve GC speed?
Thanks a lot, regards,
P.D. We are using jython 2.5.3, but this part of code hasnt changed in any
of the newer releases.