Commit does not particularly spike disk or memory usage, unless you are adding 
a very large number of documents between commits.  A commit can cause a need to 
merge indexes, which can increase disk space temporarily.  An optimize is 
*likely* to merge indexes, which will usually increase disk space temporarily.

How much disk space depends very much upon how big your index is in the first 
place.  A 2 to 3 times factor of the sum of your peak index file size seems 
safe, to me.

Solr uses only modest amounts of memory for the JVM for this stuff. 

JRJ

-----Original Message-----
From: Sujatha Arun [mailto:suja.a...@gmail.com] 
Sent: Wednesday, October 19, 2011 4:04 AM
To: solr-user@lucene.apache.org
Subject: Optimization /Commit memory

Do we require  2 or 3 Times OS RAM memory or  Hard Disk Space while
performing Commit or Optimize or Both?

what is the requirement in terms of  size of RAM and HD for commit and
Optimize

Regards
Sujatha

Reply via email to