Re: Solr Webapps and JVM code cache
yes 47 MB ,Does CMS permgen Sweeping take care of code Cache clean up? Thanks Michael and Otis Regards Sujatha On Wed, May 9, 2012 at 2:27 AM, Otis Gospodnetic wrote: > Hi, > > Did you really mean 47 *MB*? > Yes, if any limits are reached and GC cannot reclaim enough space, you > will get OOM. > You can use a couple of JVM params to catch this and dump heap to a file > if you want to analyze it and see what was using memory and how much. > > Otis > > Performance Monitoring for Solr / ElasticSearch / HBase - > http://sematext.com/spm > > > > > > > From: Sujatha Arun > >To: solr-user@lucene.apache.org > >Sent: Tuesday, May 8, 2012 7:24 AM > >Subject: Solr Webapps and JVM code cache > > > >Hello , > > > >I see that the code cache in the JVM is nearing its memory limits 47mb > >/assigned in 50 MB .On deploying more solr webapps to the server,Will i > >get any out of memory exceptions ? and will JVM freeze? > > > >How should this be handled? > > > >Regards > >Sujatha > > > > > > >
Re: Solr Webapps and JVM code cache
Hi, Did you really mean 47 *MB*? Yes, if any limits are reached and GC cannot reclaim enough space, you will get OOM. You can use a couple of JVM params to catch this and dump heap to a file if you want to analyze it and see what was using memory and how much. Otis Performance Monitoring for Solr / ElasticSearch / HBase - http://sematext.com/spm > > From: Sujatha Arun >To: solr-user@lucene.apache.org >Sent: Tuesday, May 8, 2012 7:24 AM >Subject: Solr Webapps and JVM code cache > >Hello , > >I see that the code cache in the JVM is nearing its memory limits 47mb >/assigned in 50 MB .On deploying more solr webapps to the server,Will i >get any out of memory exceptions ? and will JVM freeze? > >How should this be handled? > >Regards >Sujatha > > >
Re: Solr Webapps and JVM code cache
I'm sorry, apparently I'm unfamiliar with issues that result in needing 2Gb of permgen space. I've never run into code cache issues before. I found this page via Google: http://jasig.275507.n4.nabble.com/Java-code-cache-memory-td271140.html ..but perhaps someone who has experience with this issue can also chime in. Michael On Tue, 2012-05-08 at 23:44 +0530, Sujatha Arun wrote: > The Permgen space ,we have given 2Gb ,currently used permgen space is > 650MB ,however code cache has by default 49MB and 47+ Mb has been used ,I > would like to know what happens when we deploy more webapps to the > container . > > >- Does the unused memory removed from cache to give more memory? >- Does the JVM throw an OOM when we limit on code cache memory is >reached? >- Does the code cache get GC'ed ,by CMSpermgensweeping ?When this >happens what to expect? > > > Regards > Sujatha > > > > On Tue, May 8, 2012 at 7:44 PM, Michael Della Bitta < > michael.della.bi...@appinions.com> wrote: > > > Hi Sujatha, > > > > You will likely have to increase the JVM permgen space for your > > container when you launch it. This is normal. How you do this depends on > > the container you're using and how you launch it. > > > > Michael > > > > On Tue, 2012-05-08 at 16:54 +0530, Sujatha Arun wrote: > > > Hello , > > > > > > I see that the code cache in the JVM is nearing its memory limits 47mb > > > /assigned in 50 MB .On deploying more solr webapps to the server,Will i > > > get any out of memory exceptions ? and will JVM freeze? > > > > > > How should this be handled? > > > > > > Regards > > > Sujatha > > > > > >
Re: Solr Webapps and JVM code cache
The Permgen space ,we have given 2Gb ,currently used permgen space is 650MB ,however code cache has by default 49MB and 47+ Mb has been used ,I would like to know what happens when we deploy more webapps to the container . - Does the unused memory removed from cache to give more memory? - Does the JVM throw an OOM when we limit on code cache memory is reached? - Does the code cache get GC'ed ,by CMSpermgensweeping ?When this happens what to expect? Regards Sujatha On Tue, May 8, 2012 at 7:44 PM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Hi Sujatha, > > You will likely have to increase the JVM permgen space for your > container when you launch it. This is normal. How you do this depends on > the container you're using and how you launch it. > > Michael > > On Tue, 2012-05-08 at 16:54 +0530, Sujatha Arun wrote: > > Hello , > > > > I see that the code cache in the JVM is nearing its memory limits 47mb > > /assigned in 50 MB .On deploying more solr webapps to the server,Will i > > get any out of memory exceptions ? and will JVM freeze? > > > > How should this be handled? > > > > Regards > > Sujatha > > >
Re: Solr Webapps and JVM code cache
Hi Sujatha, You will likely have to increase the JVM permgen space for your container when you launch it. This is normal. How you do this depends on the container you're using and how you launch it. Michael On Tue, 2012-05-08 at 16:54 +0530, Sujatha Arun wrote: > Hello , > > I see that the code cache in the JVM is nearing its memory limits 47mb > /assigned in 50 MB .On deploying more solr webapps to the server,Will i > get any out of memory exceptions ? and will JVM freeze? > > How should this be handled? > > Regards > Sujatha