Would you include the entire stack trace for your OOM message? Are you seeing this on the client or server side?
Thanks, Greg On Jul 25, 2014, at 10:21 AM, Ameya Aware <ameya.aw...@gmail.com> wrote: > Hi, > > I am in process of indexing lot of documents but after around 90000 > documents i am getting below error: > > java.lang.OutOfMemoryError: Requested array size exceeds VM limit > > I am passing below parameters with Solr : > > java -Xms6144m -Xmx6144m -XX:MaxPermSize=512m > -Dcom.sun.management.jmxremote -XX:+UseParNewGC -XX:+UseCompressedOops > -XX:+UseConcMarkSweepGC > -XX:+CMSIncrementalMode -XX:+CMSParallelRemarkEnabled > -XX:+UseCMSInitiatingOccupancyOnly > -XX:CMSInitiatingOccupancyFraction=70 -XX:ConcGCThreads=6 > -XX:ParallelGCThreads=6 -jar start.jar > > > Also, i am Auto-committing after 20000 documents. > > > I searched on google for this but could not get any specific answer. > > > Can anybody help with this? > > > Thanks, > Ameya