> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)

No. Should I add those?


On Thu, Oct 6, 2011 at 1:12 AM, Sean Corfield <seancorfi...@gmail.com>wrote:

>
> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss <bliss.j...@gmail.com> wrote:
> > Based on some JVM tuning advice I Googled a while back, I have (on ACF 8)
> > minimum and maximum JVM heap size set to 1024 MB.
>
> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)
>
> > -server -XX:MaxPermSize=192m -XX:PermSize=192m -XX:+UseParallelGC
> > -Dsun.rmi.dgc.client.gcInterval=600000
> > -Dsun.rmi.dgc.server.gcInterval=600000
> > -Dcoldfusion.rootDir={application.home}/../
> > -Dcoldfusion.libPath={application.home}/../lib
>
> Nice to see you've resisted the urge to set RMI interval to 3600000
> which is a common recommendation out there.
>
> You might try -XX:+UseConcMarkSweepGC instead of -XX:+UseParallelGC to
> get more even throughput.
>
> Also worth adding -XX:+ExplicitGCInvokesConc (so System.gc() uses CMS
> as well instead of the stop the world GC).
>
> Turn on verbose GC logging as well:
>
> -verbose:gc
> -XX:+PrintGCTimeStamps
> -XX:+PrintGCDetails
>
> This will allow you to see what's really going on.
>
> > Regularly, CF briefly consumes all but about 50 MB of max heap size.
>
> Yup, that's how Java works. The GC kicks in when the JVM is close to
> being out of memory.
>
> FWIW, I've been going thru a lot of JVM tuning the last few weeks :)
>
> Useful tools to analyze memory usage:
> * jmap to get a heap dump
> * jhat to do basic analysis
> * Eclipse MAT (loving this!)
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
> Railo Technologies, Inc. -- http://www.getrailo.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to