lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Klaas <>
Subject Re: Heap size error during indexing
Date Sat, 01 Sep 2007 19:22:12 GMT
On 1-Sep-07, at 6:28 AM, Jae Joo wrote:

> I have a Java Heap size problem during indexing for 13 millions  
> doc. under
> linux using (optimized).
> each document size is about 2k.
> Is there any way to set java heap size in under tomcat?

You probably have to set the heap size when you launch tomcat.

You can also reduce indexing memory usage by reducing maxBufferedDocs  
in solrconfig.xml (say, from 1000 to 100), and by committing once in  
a while (eg. autoCommit/maxDocs=500000)


View raw message