aspose file tools*
The moose likes Performance and the fly likes How to reduce puase time in old gen ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "How to reduce puase time in old gen ?" Watch "How to reduce puase time in old gen ?" New topic
Author

How to reduce puase time in old gen ?

Sutep Mahachairachun
Greenhorn

Joined: Jan 14, 2005
Posts: 2
Hello community,

Do you have any idea to decrease pause time ( JVM parameters ) ?

:if I set memory arguments
-Xms3G -Xmx3G -XX:NewSize=1G -XX:MaxNewSize=1.5G -XX:MaxPermSize=128m -Xmaxjitcodesize32m -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC

:log from verbose:gc
88.634: [Full GC 88.635: [ParNew: 139241K->0K(1047616K), 0.0400711 secs]88.675: [CMS: 80544K->74005K(2097152K), 2.1412090 secs] 214560K->74005K(3144768K), [CMS Perm : 59203K->58938K(63312K)], 2.1863749 secs]
Total time for which application threads were stopped: 2.1877496 seconds
Application time: 188.2262431 seconds
Total time for which application threads were stopped: 0.0021658 seconds
Application time: 0.0172011 seconds
Total time for which application threads were stopped: 0.0400019 seconds
Application time: 6.8659184 seconds
Total time for which application threads were stopped: 0.0112685 seconds
Application time: 0.3049992 seconds
286.325: [Full GC 286.325: [ParNew: 396345K->0K(1047616K), 0.1209652 secs]286.446: [CMS: 91452K->86979K(2097152K), 2.1893593 secs] 470351K->86979K(3144768K), [CMS Perm : 63619K->63519K(98232K)], 2.3153623 secs]
Total time for which application threads were stopped: 2.3513322 seconds
Application time: 1096.1497930 seconds
Total time for which application threads were stopped: 0.0030614 seconds
Application time: 37.5022899 seconds
Total time for which application threads were stopped: 0.0035902 seconds
Application time: 221.9978913 seconds
1644.298: [GC 1644.298: [ParNew: 1046656K->0K(1047616K), 0.1447122 secs] 1133635K->106226K(3144768K), 0.1448808 secs]
Total time for which application threads were stopped: 0.1453872 seconds
Application time: 388.4117872 seconds
2032.855: [GC 2032.855: [ParNew: 1046655K->0K(1047616K), 0.0974009 secs] 1152882K->117380K(3144768K), 0.0975849 secs]
Total time for which application threads were stopped: 0.0981456 seconds
Application time: 358.0244514 seconds
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to reduce puase time in old gen ?