That is still really small for 5MB documents. I think the default solr document 
cache is 512 items, so you would need at least 3 GB of memory if you didn't 
change that and the cache filled up.

Try disabling the document cache by removing the 

<documentCache
                class="solr.LRUCache"
                size="512"
                initialSize="512"
                autowarmCount="0"/>

block from your solrconfig, or at least turn it down to like 5 documents.

-Kal



-----Original Message-----
From: jim.bl...@pbwiki.com [mailto:jim.bl...@pbwiki.com] On Behalf Of Jim Blomo
Sent: Thursday, June 03, 2010 2:29 PM
To: solr-user@lucene.apache.org
Subject: Re: general debugging techniques?

On Thu, Jun 3, 2010 at 11:17 AM, Nagelberg, Kallin
<knagelb...@globeandmail.com> wrote:
> How much memory have you given tomcat? The default is 64M which is going to 
> be really small for 5MB documents.

-Xmx128M - my understanding is that this bumps heap size to 128M.
What is a reasonable size?  Are there other memory flags I should
specify?

Jim

Reply via email to