Re: getting OutOfMemoryError

2011-06-21 Thread Ian Lea
Complicated with all those indexes. 3 suggestions: 1. Just give it more memory. 2. Profile it to find out what is actually using the memory. 3. Cut down the number of indexes. See recent threads on pros and cons of multiple indexes vs one larger index. -- Ian. On Mon, Jun 20, 2011 at 2:

Re: getting OutOfMemoryError

2011-06-20 Thread harsh srivastava
Hi Erick, In continuation to my below mails, I have a socket based multithreaded server that serves in average 1 request per second. The index size is 31GB and document count is about 22 millions. The index directories are first divided in 4 directories and then each subdivided to 21 directories.

Re: getting OutOfMemoryError

2011-06-17 Thread harsh srivastava
Hi Erick, i will gather the info and let u know. thanks harsh On 6/17/11, Erick Erickson wrote: > Please review: > http://wiki.apache.org/solr/UsingMailingLists > > You've given us no information to go on here, what are you > trying to do when this happens? What have you tried? What > is the quer

Re: getting OutOfMemoryError

2011-06-17 Thread Erick Erickson
Please review: http://wiki.apache.org/solr/UsingMailingLists You've given us no information to go on here, what are you trying to do when this happens? What have you tried? What is the query you're running when this happens? How much memory are you allocating to the JVM? You're apparently sorting