It's entirely possible that you're seeing higher memory usage while indexing due to more objects being created and abandoned. Another thing to consider could be your commit settings. Perhaps http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html can answer some of your questions and it might also be worthwhile to check http://wiki.apache.org/solr/ShawnHeisey#GC_Tuning for some general suggestions.
Thanks, Greg On Mar 17, 2014, at 1:39 PM, solr2020 <psgoms...@gmail.com> wrote: > previously we faced OOM when we try to index 1.2M records at the same time. > Now we divided that into two chunks and indexing twice. So now we are not > getting OOM but heap usage is more. So we are analyzing and trying to find > the cause to make sure we shouldn't get OOM again. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/More-heap-usage-in-Solr-during-indexing-tp4124898p4124906.html > Sent from the Solr - User mailing list archive at Nabble.com.