Re: Java heap space:out of memory

2013-12-11 Thread Michael Della Bitta
Just for future reference, I think Tomcat uses CATALINA_OPTS for the server runtime options. Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions

Re: Java heap space:out of memory

2013-12-10 Thread sweety
You were right the changes made in JAVA_OPTs didn't show increase in the heap size, I made changes in the UI of tomcat Initial pool memory : 512 MB Maximum pool memory : 1024 MB Now the heap size has increased. Thanks you all for your suggestions,it really saved my time. -- View this message i

Re: Java heap space:out of memory

2013-12-10 Thread Shawn Heisey
On 12/10/2013 11:47 PM, sweety wrote: > yes,i did put the space,as in the image Chances are good that wherever it was that you put the JAVA_OPTS is not being used by the servlet container that's running, or perhaps you never stopped and restarted the correct process. Thanks, Shawn

Re: Java heap space:out of memory

2013-12-10 Thread sweety
yes,i did put the space,as in the image -- View this message in context: http://lucene.472066.n3.nabble.com/Java-heap-space-out-of-memory-tp4105903p4106077.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Java heap space:out of memory

2013-12-10 Thread Ahmet Arslan
Hi,  Did you put a space between flags? -Xms1g -Xmx1g On Wednesday, December 11, 2013 7:09 AM, sweety wrote: I have set : JAVA_OPTS as  value: -Xms1024M-Xmx1024M But the dashboard still shows 64M,but now the usage is only 18% How could that be? yesterday it was 87%. -- View this message in

Re: Java heap space:out of memory

2013-12-10 Thread Shawn Heisey
On 12/10/2013 10:09 PM, sweety wrote: > I have set : JAVA_OPTS as value: -Xms1024M-Xmx1024M > But the dashboard still shows 64M,but now the usage is only 18% > How could that be? yesterday it was 87%. Due to Java's garbage collection memory model, memory usage will vary. If "-Xms1024M-Xmx1024M"

Re: Java heap space:out of memory

2013-12-10 Thread sweety
I have set : JAVA_OPTS as value: -Xms1024M-Xmx1024M But the dashboard still shows 64M,but now the usage is only 18% How could that be? yesterday it was 87%. -- View this message in context: http://lucene.472066.n3.nabble.com/Java-heap-space-out-of-memory-tp4105903p4106069.html Sent from the S

Re: Java heap space:out of memory

2013-12-10 Thread Shawn Heisey
On 12/10/2013 11:26 AM, sweety wrote: > okay thanks, > here it is: > max heap size : 63.56MB(it is howing 37.2% usage though) > How to increase that size?? 64MB is an extremely small heap size. Chances are good that because you are running on Windows 7, Java is in client mode, especially if the J

Re: Java heap space:out of memory

2013-12-10 Thread Gora Mohanty
On 10 December 2013 23:39, Shawn Heisey wrote: > On 12/10/2013 11:05 AM, sweety wrote: >> sorry but i dont know how to check that? > > On the Solr admin UI dashboard, one of the numbers is JVM-Memory. There > are three numbers below that. This is great advice, and something that I had forgotten.

Re: Java heap space:out of memory

2013-12-10 Thread sweety
okay thanks, here it is: max heap size : 63.56MB(it is howing 37.2% usage though) How to increase that size?? -- View this message in context: http://lucene.472066.n3.nabble.com/Java-heap-space-out-of-memory-tp4105903p4105952.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Java heap space:out of memory

2013-12-10 Thread Shawn Heisey
On 12/10/2013 11:05 AM, sweety wrote: > sorry but i dont know how to check that? On the Solr admin UI dashboard, one of the numbers is JVM-Memory. There are three numbers below that. Those numbers are (from left to right and top to bottom) currently used heap, current heap size, and max heap siz

Re: Java heap space:out of memory

2013-12-10 Thread sweety
sorry but i dont know how to check that? -- View this message in context: http://lucene.472066.n3.nabble.com/Java-heap-space-out-of-memory-tp4105903p4105947.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Java heap space:out of memory

2013-12-10 Thread Gora Mohanty
On 10 December 2013 22:25, sweety wrote: > > 4gb ram. > I m running on Windows 7,with Tomcat as webserver. As Michael asked, how much of this memory is made available to Solr? Regards, Gora

Re: Java heap space:out of memory

2013-12-10 Thread sweety
4gb ram. I m running on Windows 7,with Tomcat as webserver. -- View this message in context: http://lucene.472066.n3.nabble.com/Java-heap-space-out-of-memory-tp4105903p4105929.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Java heap space:out of memory

2013-12-10 Thread Michael Della Bitta
I'm not sure how you're running Solr, but generally if you're using the Java command line to launch Jetty, you do something like this: java -Xmx512m -jar start.jar That would give you a half-gigabyte heap. Are you running this on a machine with low overall RAM, or low available RAM? Michael Del

Java heap space:out of memory

2013-12-10 Thread sweety
I just indexed 10 doc of total 15mb.For some queries it works fine but, for some queries i get this error: java.lang.OutOfMemoryError: Java heap space java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilt