On Wed, 20 May 2009, Moshe Cohen wrote:

I would like to know if there is any Pylucene-specific issues with regard to
the two JVM errors in the subject.

About memory errors: be sure to give the Java VM enough memory when initializing it with initVM(). More about this at [1].

About open files: is your index using the Lucene compound file format ? If not, that could help. If you are already, what is your OS and related number of file limit ? Have you tried increasing it ? Are you closing all 'things' that you think ought to be closed ? What version of PyLucene and Java Lucene are you using ?

Unless there is an egregious leak somewhere, both issues should reproduce with the same Java program (PyLucene just wraps a Java VM, the same Java Lucene code is run). You may want to ask the same questions on java-u...@lucene.apache.org [2].

Andi..

[1] http://lucene.apache.org/pylucene/jcc/documentation/readme.html#api
[2] http://lucene.apache.org/java/docs/mailinglists.html

Reply via email to