[pylucene-dev] java.io.FileNotFoundException: (File too large) with
PyLucene 2.2.0-1 and gcc 3.4.4/3.4.6
Jon Rosebaugh
chairos at gmail.com
Wed Aug 15 00:59:14 PDT 2007
I developed my PyLucene app on Mac OS X, using the 2.2.0-1 binary
built for Python 2.5.1 available at the website. But I need to deploy
on my Linux machine. I'm running Debian testing, with the stock Python
2.5.1 available in the repositories. At first I tried compiling gcc
3.4.4, as recommended by INSTALL and using that to compile PyLucene,
but I got the following exception when I tried to use the index I'd
created:
Error - <class 'PyLucene.JavaError'>: java.io.FileNotFoundException:
/domains/ffmlindex/lucene/_300k.cfs (File too large)
This index is 2.6 gigabytes in size. It didn't prove a problem on OS X at all.
I noticed some messages from 2004 in the archives that seemed to
relate to this. They seemed to indicate that gcc 3.4.6 would work
better, so I compiled that instead. No luck.
The only version of gcj available in the debian testing repository is
4.1. Can I use this safely with PyLucene? If not, please recommend a
version that will work with an index this large.
More information about the pylucene-dev
mailing list