You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jae Joo <ja...@gmail.com> on 2008/01/07 18:08:30 UTC

Tomcat and Solr - out of memory

Hi,

What happens if Solr application hit the max. memory of heap assigned?

Will be die or just slow down?

Jae

RE: Tomcat and Solr - out of memory

Posted by "Norskog, Lance" <la...@divvio.com>.
On Tomcat, an OutOfMemory on a query leaves the server in an OK state, and future queries work.
But a facet query that runs out of ram does not free its undone state and all future requests get OutOfMemory.

Lance 

-----Original Message-----
From: the.stuart.sierra@gmail.com [mailto:the.stuart.sierra@gmail.com] On Behalf Of Stuart Sierra
Sent: Tuesday, January 08, 2008 7:05 AM
To: solr-user@lucene.apache.org
Subject: Re: Tomcat and Solr - out of memory

On Jan 7, 2008 12:08 PM, Jae Joo <ja...@gmail.com> wrote:
> What happens if Solr application hit the max. memory of heap assigned?
>
> Will be die or just slow down?

In my (limited) experience (with Jetty), Solr will not die but it will return HTTP 500 errors on all requests until it is restarted.

-Stuart

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 1/7/2008 9:14 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date: 1/7/2008 9:14 AM
 

Re: Tomcat and Solr - out of memory

Posted by Stuart Sierra <ma...@stuartsierra.com>.
On Jan 7, 2008 12:08 PM, Jae Joo <ja...@gmail.com> wrote:
> What happens if Solr application hit the max. memory of heap assigned?
>
> Will be die or just slow down?

In my (limited) experience (with Jetty), Solr will not die but it will
return HTTP 500 errors on all requests until it is restarted.

-Stuart