regarding sudden memory increase

Paul Hohensee paul.hohensee at oracle.com
Fri Feb 17 08:38:27 PST 2012


Your question would be better answered by someone on the hotstpot-gc-use
list, cc'ed.

You don't mention which version of the JDK you're using, but you should be
using the latest update of JDK 7, which is update 2.

Paul

On 2/17/12 10:54 AM, sakthivel wrote:
> Dear Sir,
>            I have the following setting for my system
>
> -Xms1536M
> -Xmx1536M
> -verbose:gc
> -XX:+PrintGCDateStamps
> -XX:NewSize=768M
> -XX:MaxNewSize=768M
> -XX:PermSize=256m
> -XX:MaxPermSize=256m
> -XX:+CMSClassUnloadingEnabled
> -XX:+UseConcMarkSweepGC
> -XX:+CMSIncrementalMode
> -XX:+DisableExplicitGC
> -XX:+ExplicitGCInvokesConcurrent
> -XX:GCTimeRatio=19
> -Xincgc
> -XX:SurvivorRatio=2
> -XX:MaxTenuringThreshold=50
> -XX:MaxGCPauseMillis=12000
>
> and My logs as below
>
> 2012-02-16T09:53:47.907-0500: [GC 462167K->82462K(1376256K), 0.0554103 
> secs]
> 2012-02-16T09:53:52.275-0500: [GC 475678K->68672K(1376256K), 0.0541640 
> secs]
> 2012-02-16T09:53:53.289-0500: [GC 461888K->68574K(1376256K), 0.0539152 
> secs]
> 2012-02-16T09:53:56.471-0500: [GC 461790K->68683K(1376256K), 0.0556297 
> secs]
> 2012-02-16T09:53:58.281-0500: [GC 461899K->95837K(1376256K), 0.0757101 
> secs]
>
> in certain case the tomcat memory increases as follows
>
> 2012-02-16T12:02:32.182-0500: [GC 454346K->97556K(1376256K), 0.1354231 
> secs]
> 2012-02-16T12:03:30.542-0500: [GC 490772K->128467K(1376256K), 
> 0.2537510 secs]
> 2012-02-16T12:04:28.792-0500: [GC 521683K->223446K(1376256K), 
> 0.3725598 secs]
> 2012-02-16T12:05:14.235-0500: [GC 616662K->265305K(1376256K), 
> 0.3163817 secs]
> 2012-02-16T12:05:20.459-0500: [GC 452169K(1376256K), 0.2202838 secs]
> 2012-02-16T12:05:26.949-0500: [GC 658521K->253437K(1376256K), 
> 0.2352744 secs]
> 2012-02-16T12:05:48.524-0500: [GC 468368K(1376256K), 0.1812084 secs]
>
> and tomcat crashes, please help in this regard
>
> Thanks,
> Sakthi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20120217/4e0f32a5/attachment.html 


More information about the hotspot-gc-use mailing list