You can increase the Java heap memory maximum by setting the -Xmx parameter when you start Solr, if you are using Solr 5.1 and below. (Eg: -Xmx4096M)
For Solr 5.2 and above, set the -m parameters (Eg: -m 4g) Regards, Edwin On 15 October 2015 at 21:09, Shawn Heisey <apa...@elyograg.org> wrote: > On 10/15/2015 2:37 AM, HanumanthaRao K wrote: > > this is hanumantharao. I am getting the error when parsing and indexing > > content using solr. if you know please help me on the same. > > ------------------------------------------------------------------------ > > > > I am using solr for index as well as content search. when I am trying > with > > 1 gb data and RAM sizes 10 GB for tomcat and solr . I am getting error: > > java.lang.OutOfMemoryError: Requested array size exceeds VM limit at > > Tika, which is what is being used here to extract text out of your > document, is requiring more memory than you have allocated in order to > do the extraction on whatever document it is currently indexing. > > See this previous message on this mailing list: > > > http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201407.mbox/%3c53d658c7.1000...@raytion.com%3E > > Thanks, > Shawn > >