The max heap (set with the -Xmx parameter) is shared between all
generations, with
the typical Sun/Oracle JVM that is eden, survivor, tenured and permanent
The JVM usually does a pretty good job at adjusting the individual sizes
according to
how much garbage your app produces.

I think 2097M out of 3000M is quite reasonable for the tenured generation.
 You may need
to give it more memory.  Is it conceivable that your app has a resource
leak? If so you may
be able to get in shape for a while by restarting it.  The thread count
warnings may indicate
that a lot of your memory is going to call stacks for the threads.  If your
app was faster you
would see fewer threads and hence less memory used.

If you really want to get into tuning the memory/GC settings there is to
guide you,
but I don't recommend that.

Knut Forkalsrud

On Tue, Oct 30, 2012 at 10:14 AM, Keith Fetterman

> Hi Everyone,
> I could use a little help troubleshooting some messages in my
> jvm-default.log.  I am seeing a lot of the following messages in our
> Resin logs.  We are currently running Resin 4.0.23 Pro.
> > INFO
> MemoryTenuredHealthCheck[WARNING:0.48% free (10.127M free, 2097.152M max,
> 2087.025M used)]
> I did a bit of research this morning about adjusting tenured memory
> limits, but I didn't find anything specific to adjusting the value. Does
> anyone know what property I need to adjust?  I currently have the
> following Java settings in my resin.xml file:
> > <jvm-arg>-J-server</jvm-arg>
> >             <jvm-arg>-J-d64</jvm-arg>
> >             <jvm-arg>-Xms3000M</jvm-arg>
> >             <jvm-arg>-Xmx3000M</jvm-arg>
> >             <jvm-arg>-XX:MaxPermSize=250M</jvm-arg>
> I could increase the -Xmx property, but I am wondering if there is a
> better property to tweak.
> I am also seeing the following warning messages:
> > WARNING AnomalyAnalyzer
> JVM|Thread|JVM Blocked Count WARNING
> > WARNING AnomalyAnalyzer
> JVM|Thread|JVM Runnable Count WARNING
> Does anyone have some advice on how to resolve these warnings?  I read
> the Resin documentation, but I didn't find something specific.
> Thanks for your help
> Keith
> --
> -----------------------------------------------------------------
> Keith Fetterman                        Direct: 206-319-9434
> Mariner Supply, Inc.                   206-780-5670
> _______________________________________________
> resin-interest mailing list
resin-interest mailing list

Reply via email to