Hi -

The best way is probably to add more ram. :-)

That error apparently results from running out of perm gen space, and with
512m, you may not have much perm gen space.

Options for increasing this can be found
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

But, if you don't have enough memory, that's just going to move the problem.

You can watch memory usage with jconsole, or get more detail with something
like yourkit.

Tom


On Fri, Mar 12, 2010 at 10:17 AM, Oleg Burlaca <o...@burlaca.com> wrote:

> Hello,
>
> I've searched the list for this kind of error but never find one that is
> similar to my case:
>
>    Java HotSpot(TM) Client VM warning:
>    Exception java.lang.OutOfMemoryError occurred dispatching signal
>    SIGTERM to handler- the VM may need to be forcibly terminated
>
>
> I use the latest stable SOLR 1.4 and start it with Jetty from the /example/
> folder.
>
> Sometimes SOLR dies without writing to the stderrout.log
> (I use the script from http://wiki.apache.org/solr/SolrJetty)
>
> The messages above appears in the standard error stream instead of the log
> file. (i.e. it appears directly in the SSH window).
>
> I've set:
>      <New class="org.mortbay.thread.BoundedThreadPool">
>        <Set name="minThreads">2</Set>
>        <Set name="lowThreads">2</Set>
>        <Set name="maxThreads">2</Set>
>      </New>
>
> Is there a way to solve this? SOLR is on a VPS with 512MB of RAM.
>
> Regards,
> Oleg Burlaca
>

Reply via email to