1,5 GB already seems like quite a bit but adding more just might solve it
... try something like 3GB (if your machine supports it) and see if that
helps?

If 3 GB still doesn't cut it then the problem is most likely somewhere else
and i'd suggest looking at the application with a memory profiler to see if
something is wrong.

I see you're running jrockit .. does that mean you also have mission control
? I'm making assumptions here but i believe one of mission control's
features is that it lets you monitor the application, maybe that can tell
you something usefull .. otherwise grab a real memory profiler to find out
where all the memory is going.

On Thu, Sep 10, 2009 at 7:44 PM, Francis Yakin <fya...@liquid.com> wrote:

> SO, do you think increasing the JVM will help? We also have
> <queryResultMaxDocsCached>500</queryResultMaxDocsCached> in solrconfig.xml
> Originally was set to
> <queryResultMaxDocsCached>200</queryResultMaxDocsCached>
>
> Currently we give solr 1.5GB for Xms and Xmx, we use jrockit version
> 1.5.0_15
>
> 4 S root     12543 12495 16  76   0 - 848974 184466 Jul20 ?
> 8-11:12:03 /opt/bea/jrmc-3.0.3-1.5.0/bin/java -Xms1536m -Xmx1536m -Xns:128m
> -Xgc:gencon -Djavelin.jsp.el.elcache=4096
> -Dsolr.solr.home=/opt/apache-solr-1.3.0/example/solr
>
> Francis
>
> -----Original Message-----
> From: Constantijn Visinescu [mailto:baeli...@gmail.com]
> Sent: Wednesday, September 09, 2009 11:35 PM
> To: solr-user@lucene.apache.org
> Subject: Re: OutOfMemory error on solr 1.3
>
> Just wondering, how much memory are you giving your JVM ?
>
> On Thu, Sep 10, 2009 at 7:46 AM, Francis Yakin <fya...@liquid.com> wrote:
>
> >
> > I am having OutOfMemory error on our slaves server, I would like to know
> if
> > someone has the same issue and have the solution for this.
> >
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@96cd2ffc
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5395576, Num elements: 1348890
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 441216, Num elements: 55150
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@519116e0
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5395576, Num elements: 1348890
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@74dc52fa
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5395576, Num elements: 1348890
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@d0dd3e28
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5395576, Num elements: 1348890
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@b6dfa5bc
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14128832, Num elements: 3532204
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@482b13ef
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14128832, Num elements: 3532204
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@2309438c
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14128832, Num elements: 3532204
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@277bd48c
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14128832, Num elements: 3532204
> > Exception in thread "[ACTIVE] ExecuteThread: '7' for queue:
> > 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 8208, Num elements: 8192
> > Exception in thread "[ACTIVE] ExecuteThread: '8' for queue:
> > 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 8208, Num elements: 8192
> > Exception in thread "[ACTIVE] ExecuteThread: '10' for queue:
> > 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 8208, Num elements: 8192
> > Exception in thread "[ACTIVE] ExecuteThread: '11' for queue:
> > 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 8208, Num elements: 8192
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@41405463
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 751552, Num elements: 187884
> >  java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 8208,
> > Num elements: 8192
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 8208,
> > Num elements: 8192
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 5096,
> > Num elements: 2539
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 5400,
> > Num elements: 2690
> > <Sep 7, 2009 7:22:50 PM GMT> <Warning> <DeploymentService> <BEA-290064>
> > <Deployment service servlet encountered an Exception while handling the
> > deployment service message for request id "-1" from server "AdminServer".
> > Exception is: "java.lang.OutOfMemoryError: allocLargeObjectOrArray -
> Object
> > size: 4368, Num elements: 2174
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 14140768, Num elements: 3535188
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@8dbcc7ab
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5395576, Num elements: 1348890
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 5320,
> > Num elements: 2649
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@4d0c6fc5
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 751560, Num elements: 187885
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 16400,
> > Num elements: 8192
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@fb6bac19
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14140904, Num elements: 3535222
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@536d7b1b
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14140904, Num elements: 3535222
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@6a1ef00a
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 751864, Num elements: 187961
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@298f2d9c
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5398568, Num elements: 1349637
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 4112, Num elements: 2048
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@df3a7487
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 752456, Num elements: 188109
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 442944, Num elements: 55366
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 443064, Num elements: 55381
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 443064, Num elements: 55381
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@2cb16871
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 752664, Num elements: 188161
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 443064, Num elements: 55381
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 8208, Num elements: 4096
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@2cf5f737
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 752656, Num elements: 188160
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@6ffd2833
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 752760, Num elements: 188186
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 5272,
> > Num elements: 2626
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@c522d3c6
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5401216, Num elements: 1350300
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@1cd109dc
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 14204480, Num elements: 3551115
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 4112, Num elements: 2048
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@21e293d6
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 753176, Num elements: 188290
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 444000, Num elements: 55498
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@e3c7df95
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 753176, Num elements: 188290
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@6e669e61
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5403000, Num elements: 1350745
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@b063f21b
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5403000, Num elements: 1350745
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@d5d179c
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object size: 5403000, Num elements: 1350745
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 8208, Num elements: 2048
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 5320,
> > Num elements: 2649
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 16400,
> > Num elements: 8192
> > java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object size: 4136,
> > Num elements: 2058
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 8208, Num elements: 2048
> > SEVERE: java.lang.OutOfMemoryError: allocLargeObjectOrArray - Object
> size:
> > 4112, Num elements: 2048
> > SEVERE: Error during auto-warming of
> > key:org.apache.solr.search.queryresult...@3b8f69ee
> :java.lang.OutOfMemoryError:
> > allocLargeObjectOrArray - Object
> >
> > We just upgraded to Solr 1.3 last two months ago, before that we were
> > running 1.2 and it had the same issue, but it stopped for awhile until
> today
> > it appears again.
> >
> > I attached our solrconfig.xml to see if someone can pin-point the issue.
> >
> > Thanks
> >
> > Francis
> >
> >
> >
>

Reply via email to