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 post.sh (optimized).
each document size is about 2k.

Is there any way to set java heap size in post.sh 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)

-Mike

Reply via email to