[pylucene-dev] PyLucene JCC memory problem
vajda at osafoundation.org
Tue Mar 18 13:01:30 PDT 2008
On Tue, 18 Mar 2008, João Rodrigues wrote:
> Hello all, I don't know if this is a problem with my JCC or my PyLucene
> instalation, but here goes.
> I'm running the latest build of PyLucene. I works fine if I set my VM's heap
> size to a max of 800MB. However, any value greater than that just crashes
> the whole python system..
> I'm setting it like this:
> lucene.initVM(lucene.CLASSPATH, maxheap='1024m')
I tried it on Mac OS X 10.5 and I was able to increase maxheap until I got
this error when I tried '32g' (which exceeds the VM's 32 bits for pointers).
Invalid maximum heap size: -Xmx32g
The specified size exceeds the maximum representable size.
Values such as '2g' work fine.
How about you tell us more about your environment such as OS, RAM size, HD
size, max swap size, HD space left, VM version and vendor, Python version,
PyLucene version, compiler vendor and version, etc... A gdb stacktrace of
the crash would be helpful too.
More information about the pylucene-dev