RE: Java heap space error

2014-07-25 Thread Toke Eskildsen
Steve Rowe [sar...@gmail.com] wrote: > 1 Lakh (aka Lac) = 10^5 is written as 1,00,000 > > It’s used in Bangladesh, India, Myanmar, Nepal, Pakistan, and Sri Lanka, > roughly 1/4 of the world’s population. Yet still it causes confusion and distracts from the issue. Let's just stick to metric, okay

Re: Java heap space error

2014-07-25 Thread Steve Rowe
On Jul 25, 2014, at 9:13 AM, Shawn Heisey wrote: > On 7/24/2014 7:53 AM, Ameya Aware wrote: > The odd location of the commas in the start of this thread make it hard > to understand exactly what numbers you were trying to say On Jul 24, 2014, at 9:32 AM, Ameya Aware wrote: > I am in process o

Re: Java heap space error

2014-07-25 Thread Shawn Heisey
On 7/24/2014 7:53 AM, Ameya Aware wrote: > I did not make any other change than this.. rest of the settings are > default. > > Do i need to set garbage collection strategy? The collector chosen and its and tuning params can have a massive impact on performance, but it will make no difference at a

Re: Java heap space error

2014-07-24 Thread Boon Low
How about simply increasing the heap size if RAM is available? You should also check the update handler config, e.g. auto commit, if docs aren’t being written to disk, they would be hanging around in memory. And “openSearcher” setting too as opening new searchers consumes memory, especially if e

Re: Java heap space error

2014-07-24 Thread François Schiettecatte
A default garbage collector will be chosen for you by the VM, might help to get the stack trace to look at. François On Jul 24, 2014, at 10:06 AM, Ameya Aware wrote: > ooh ok. > > So you want to say that since i am using large heap but didnt set my > garbage collection, thats why i why gettin

Re: Java heap space error

2014-07-24 Thread Ameya Aware
ooh ok. So you want to say that since i am using large heap but didnt set my garbage collection, thats why i why getting java heap space error? On Thu, Jul 24, 2014 at 9:58 AM, Marcello Lorenzi wrote: > I think that on large heap is suggested to monitor the garbage collection > behavior an

Re: Java heap space error

2014-07-24 Thread Marcello Lorenzi
I think that on large heap is suggested to monitor the garbage collection behavior and try to add a strategy adapted to your performance. On my production environment with a heap of 6 GB I set this parameter (server with 8 cores): -server -Xms6144m -Xmx6144m -XX:MaxPermSize=512m -Dcom.sun.ma

Re: Java heap space error

2014-07-24 Thread Ameya Aware
I did not make any other change than this.. rest of the settings are default. Do i need to set garbage collection strategy? On Thu, Jul 24, 2014 at 9:49 AM, Marcello Lorenzi wrote: > Hi, > Did you set a Garbage collection strategy on your JVM ? > > Marcello > > > On 07/24/2014 03:32 PM, Ameya

Re: Java heap space error

2014-07-24 Thread Marcello Lorenzi
Hi, Did you set a Garbage collection strategy on your JVM ? Marcello On 07/24/2014 03:32 PM, Ameya Aware wrote: Hi I am in process of indexing around 2,00,000 documents. I have increase java jeap space to 4 GB using below command : java -Xmx4096M -Xms4096M -jar start.jar Still after indexin

Re: Java heap Space error

2014-07-23 Thread Harald Kirsch
You may want to change your solr startup script such that it creates a heap dump on OOM. Add -XX:+HeapDumpOnOutOfMemoryError as an option. The heap dump can be nicely analyzed with http://www.eclipse.org/mat/. Just increasing -Xmx is a workaround that may help to get around for a while. With m

Re: Java heap Space error

2014-07-22 Thread Rafał Kuć
Hello! Yes, just edit your Jetty configuration file and add -Xmx and -Xms parameters. For example, the file you may be looking at it /etc/default/jetty. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ > So can

Re: Java heap Space error

2014-07-22 Thread Ameya Aware
So can i come over this exception by increasing heap size somewhere? Thanks, Ameya On Tue, Jul 22, 2014 at 2:00 PM, Shawn Heisey wrote: > On 7/22/2014 11:37 AM, Ameya Aware wrote: > > i am running into java heap space issue. Please see below log. > > All we have here is an out of memory except

Re: Java heap Space error

2014-07-22 Thread Shawn Heisey
On 7/22/2014 11:37 AM, Ameya Aware wrote: > i am running into java heap space issue. Please see below log. All we have here is an out of memory exception. It is impossible to know *why* you are out of memory from the exception. With enough investigation, we could determine the area of code where

Re: java heap space error when faceting

2010-01-16 Thread Matt Mitchell
I'm embarrassed (but hugely relieved) to say that, the script I had for starting Jetty had a bug in the way it set java options! So, my heap start/max was always set at the default. I did end up using jconsole and learned quite a bit from that too. Thanks for your help Yonik :) Matt On Sat, Jan

Re: java heap space error when faceting

2010-01-16 Thread Yonik Seeley
On Sat, Jan 16, 2010 at 11:04 AM, Matt Mitchell wrote: > These are single valued fields. Strings and integers. Is there more specific > info I could post to help diagnose what might be happening? Faceting on either should currently take ~24MB (6M docs @ 4 bytes per doc + size_of_unique_values) Wi

Re: java heap space error when faceting

2010-01-16 Thread Matt Mitchell
These are single valued fields. Strings and integers. Is there more specific info I could post to help diagnose what might be happening? Thanks! Matt On Sat, Jan 16, 2010 at 10:42 AM, Yonik Seeley wrote: > On Sat, Jan 16, 2010 at 10:01 AM, Matt Mitchell > wrote: > > I have an index with more tha

Re: java heap space error when faceting

2010-01-16 Thread Yonik Seeley
On Sat, Jan 16, 2010 at 10:01 AM, Matt Mitchell wrote: > I have an index with more than 6 million docs. All is well, until I turn on > faceting and specify a facet.field. There is only about unique 20 values for > this particular facet throughout the entire index. Hmmm, that doesn't sound right..