On Sat, 18 Mar 2006, chan kang wrote:
Hi... I am trying to optimize an index of about 8gigabytes, and the way I did it was to create one huge index by exhaustively writing on them, and at the end, tried to optimize the single directory... For some reason, the " writer.optimize() " did not work, and exited with "JavaError" at optimize(). Is it the file size? Does anyone else have this kind of problem? Could it be some memory problem, like the jvm not supporting more than a certain amount of memory? My os is debian, and the processor is amd manchester, and ram is 2gigabytes....(although i don't think this info would help that much.. )
You're most likely running out of RAM... optimize() is a big operation. Do it in pieces... Andi.. _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
