Hello,

You need to start your jetty or tomcat server with higher vm memory
settings.

On this page you can find some explanation

http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp

The 2 parameters that are important are -Xms and -Xmx.

So instead of starting jetty with

java -jar start.jar

you should use something like

java -Xmx512M -Xms512M -jar start.jar

This will start the server with an initital memory of 512 MB and a maximum
of 512 MB. If that isn't enough, you can use higher values.

Hope this helps,

Thierry Collogne

On 27/07/07, Jae Joo <[EMAIL PROTECTED]> wrote:
>
> I am new in Solr and try to use Jitty and example with 13 million records.
> During running it, I have the error -
> *HTTP ERROR: 500*
>
> Java heap space
>
>
>
> java.lang.OutOfMemoryError: Java heap space
>
>
> Any recommendation? We have a million transactions, so would it be better
> to
> use Tomcat?
>
> Thanks,
>
> Jae
>

Reply via email to