You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Toke Eskildsen <te...@statsbiblioteket.dk> on 2008/04/11 08:32:33 UTC

Re: Problem when try to make a bench of indexing (a dictionary with 120.000 words)

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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org