Hello all, I'm wanting to build a script that, considering the RAM of the user, it either chooses to use a RAM directory or a FS one. However, the method I'm using right now is trying to create the JVM with 2g maxheap size, and if it fails, catching the exception, evaluating it, and if it is because of not enough RAM, reducing RAM to my application minimum required and creating an FS directory. Problem is, I can't understand how to catch the exception... can you give me a sample code? I've read that ou have implemented a class of lucene.JavaErrors, but I really can't see how it works...
Thanks in advance, João Rodrigues
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
