lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toke Eskildsen>
Subject Re: Problem when try to make a bench of indexing (a dictionary with 120.000 words)
Date Fri, 11 Apr 2008 06:32:33 GMT
On Thu, 2008-04-10 at 15:42 -0300, Leandro wrote:
> machine1: Windows XP SP2, Celerom 2.66GHz e 256MB

If that is a physical machine (as opposed to virtual), then the amount
of RAM if not at all well balanced against the processor speed.

> [...] java.lang.OutOfMemoryError: Java heap space

How much memory do you allocate for the whole JVM? If you're not sure,
then you're probably using the default, which is probably 64MB for your
machine. If so, you can try allocating more memory for the JVM:
java -Xmx=128m -jar LeandroApplication.jar

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message