initiate garbage collector under gcj

Yura Smolsky info@altervision.biz
Tue Feb 22 00:22:00 GMT 2005


Hello, Tom.

>>>>>> "Yura" == Yura Smolsky <info@altervision.biz> writes:

Yura>> How can I manually initiate process of garbage collecting under gcj?..

TT> You can call System.gc().  Like other JVMs, this isn't guaranteed to
TT> have an effect.

Yeah. It does not help :) I am talking about PyLucene's object.
PyLucene is java library ported to python through gcj.

When I do create big sized (1Gb) object in memory and then delete all
references to it then objects is still in memory, even after some
time/operations...


Yura Smolsky.




More information about the Java mailing list