Hi I was faced the same problem. You can get it rectified by allocating specified memory to the jar process that is running.
java -Xmx1024M -Xms1024M -jar start.jar you can specify the amount of memory to the process. -- Thank you, Vijayant Kumar Software Engineer Website Toolbox Inc. http://www.websitetoolbox.com 1-800-921-7803 x211 > Hello All, > I am trying to start Solr server using Jetty ( same as in > Solr tutorial in their website ). As the index size is around 3.5gb > its returning OutOfMemoryError. Is it mandatory to satisfy the > condition java heap size > index size ? . If yes, is there any > solution to run Solr successfully on my computer. Please also note > that my ram size is 3GB. > I am using jetty on local computer ( a faster one ) as its only for > testing purpose. The only option I have is the same. So, any > suggestions ? > Thanks. >