[Yura]
> Is there a way to start garbage collector manually to free memory
> taken by PyLucene objects?

I believe this code will run the Java GC:

>>> r = PyLucene.Runtime.getRuntime()
>>> r.gc()

(I'm no expert on gcj, so I don't know exactly what effect that has on a
gcj-compiled library.)

In theory, unused objects should be garbage collected without running
Runtime.gc().  I'd be interested to know whether that code makes any
difference to your application...?

-- 
Richie Hindle
[EMAIL PROTECTED]

_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to