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
> >
> >
> >


Reply via email to