Strange isssue about OOM

chris.guan at oocl.com chris.guan at oocl.com
Mon Jan 14 06:54:33 UTC 2008



Dear,

 Encounter one issue about out of memory, server continued trigger gc
and full gc while the memory is less used, eapesicially the [young].
Please help.Also, what is the theary to trigger gc?Many thanks.

Not calling System.gc(). Performing 10 VU's test. Not reproduced.

The server parameter: -server -Xms512M -Xmx512M -verbose:gc
-XX:PermSize=64M -XX:MaxPermSize=64M.

The log:
25185.728: [GC 25185.728: [DefNew: 163242K->163242K(169600K), 0.0000587
secs]25185.728: [Tenured: 234502K->252491K(349568K), 1.3021262 secs]
397745K->252491K(519168K), 1.3029282 secs]
Total time for which application threads were stopped: 1.3040612 seconds
Application time: 23.7854558 seconds
25210.819: [GC 25210.820: [DefNew: 86804K->1788K(169600K), 0.0486894
secs]25210.868: [Tenured: 266146K->241318K(349568K), 1.2399896 secs]
339295K->241318K(519168K), 1.2888920 secs]
25212.108: [Full GC 25212.109: [Tenured[Unloading class
sun.reflect.GeneratedConstructorAccessor314]
[Unloading class sun.reflect.GeneratedMethodAccessor759]
[Unloading class sun.reflect.GeneratedConstructorAccessor315]
[Unloading class sun.reflect.GeneratedConstructorAccessor268]
[Unloading class sun.reflect.GeneratedConstructorAccessor269]
[Unloading class sun.reflect.GeneratedConstructorAccessor316]
[Unloading class sun.reflect.GeneratedConstructorAccessor313]
: 241318K->226997K(349568K), 1.5769614 secs] 241318K->226997K(519168K),
[Perm : 27510K->27498K(65536K)], 1.5771121 secs]
Total time for which application threads were stopped: 2.8672106 seconds
Application time: 0.0086622 seconds
25213.699: [GC 25213.699: [DefNew: 756K->82K(169600K), 0.0078670
secs]25213.707: [Tenured[Unloading class
sun.reflect.GeneratedConstructorAccessor274]
: 226997K->221430K(349568K), 2.0173917 secs] 227753K->221430K(519168K),
2.0254397 secs]
25215.724: [Full GC 25215.724: [Tenured: 221430K->221422K(349568K),
1.2257687 secs] 221430K->221422K(519168K), [Perm :
27496K->27496K(65536K)], 1.2259138 secs]
Total time for which application threads were stopped: 3.2556802 seconds
Application time: 21.5991046 seconds
25238.563: [GC 25238.563: [DefNew: 18728K->296K(169600K), 0.0169044
secs]25238.580: [Tenured: 221422K->221605K(349568K), 1.3133015 secs]
240150K->221605K(519168K), 1.3303972 secs]
25239.893: [Full GC 25239.894: [Tenured: 221605K->220330K(349568K),
1.2038988 secs] 221605K->220330K(519168K), [Perm :
27497K->27497K(65536K)], 1.2040751 secs]
Total time for which application threads were stopped: 2.5488005 seconds
Application time: 0.0188518 seconds
25241.130: [GC 25241.130: [DefNew: 1990K->59K(169600K), 0.0071533
secs]25241.137: [Tenured: 220330K->220344K(349568K), 1.2219109 secs]
222321K->220344K(519168K), 1.2292561 secs]
25242.359: [Full GC 25242.359: [Tenured: 220344K->220335K(349568K),
1.2026312 secs] 220344K->220335K(519168K), [Perm :
27497K->27497K(65536K)], 1.2027791 secs]
Total time for which application threads were stopped: 2.4439904 seconds
Application time: 24.2665427 seconds
25267.833: [GC 25267.833: [DefNew: 24971K->255K(169600K), 0.0081354
secs]25267.841: [Tenured: 220335K->220542K(349568K), 1.2416907 secs]
245306K->220542K(519168K), 1.2500197 secs]
25269.083: [Full GC 25269.083: [Tenured: 220542K->220317K(349568K),
1.2465385 secs] 220542K->220317K(519168K), [Perm :
27497K->27497K(65536K)], 1.2466957 secs]
Total time for which application threads were stopped: 2.5006234 seconds
Application time: 9.1710434 seconds
25279.513: [GC 25279.513: [DefNew: 11184K->124K(169600K), 0.0191095
secs]25279.532: [Tenured: 220317K->220247K(349568K), 1.2142263 secs]
231502K->220247K(519168K), 1.2335457 secs]
25280.746: [Full GC 25280.746: [Tenured: 220247K->220237K(349568K),
1.2042132 secs] 220247K->220237K(519168K), [Perm :
27497K->27497K(65536K)], 1.2043556 secs]
Total time for which application threads were stopped: 2.4500521 seconds
Application time: 28.5731236 seconds
25310.536: [GC 25310.536: [DefNew: 20905K->185K(169600K), 0.0174417
secs]25310.554: [Tenured: 220237K->220422K(349568K), 1.2108142 secs]
241142K->220422K(519168K), 1.2284657 secs]
25311.765: [Full GC 25311.765: [Tenured: 220422K->220264K(349568K),
1.2223217 secs] 220422K->220264K(519168K), [Perm :
27497K->27497K(65536K)], 1.2224701 secs]
Total time for which application threads were stopped: 2.4631855 seconds
Application time: 0.0368244 seconds
25313.039: [GC 25313.039: [DefNew: 2421K->91K(169600K), 0.0079322
secs]25313.047: [Tenured: 220264K->220182K(349568K), 1.3464051 secs]
222685K->220182K(519168K), 1.3545552 secs]
25314.393: [Full GC 25314.394: [Tenured: 220182K->220172K(349568K),
1.2893013 secs] 220182K->220172K(519168K), [Perm :
27497K->27497K(65536K)], 1.2894685 secs]
Total time for which application threads were stopped: 2.6585330 seconds
Application time: 45.1138619 seconds
25360.803: [GC 25360.803: [DefNew: 29023K->222K(169600K), 0.0078027
secs]25360.811: [Tenured: 220172K->220388K(349568K), 1.2135921 secs]
249195K->220388K(519168K), 1.2215896 secs]
25362.025: [Full GC 25362.025: [Tenured: 220388K->220294K(349568K),
1.1972240 secs] 220388K->220294K(519168K), [Perm :
27497K->27497K(65536K)], 1.1973704 secs]
Total time for which application threads were stopped: 2.4229267 seconds
Application time: 31.0328978 seconds
25394.270: [GC 25394.270: [DefNew: 19657K->162K(169600K), 0.0088962
secs]25394.279: [Tenured: 220294K->220251K(349568K), 1.3206682 secs]
239951K->220251K(519168K), 1.3297797 secs]
25395.599: [Full GC 25395.600: [Tenured: 220251K->220241K(349568K),
1.1989645 secs] 220251K->220241K(519168K), [Perm :
27497K->27497K(65536K)], 1.1991104 secs]
Total time for which application threads were stopped: 2.5428534 seconds
Application time: 92.3087423 seconds
25489.129: [GC 25489.130: [DefNew: 54368K->315K(169600K), 0.0116064
secs]25489.141: [Tenured: 220241K->220556K(349568K), 1.5860020 secs]
274610K->220556K(519168K), 1.5978559 secs]
25490.727: [Full GC 25490.728: [Tenured: 220556K->220393K(349568K),
1.7381398 secs] 220556K->220393K(519168K), [Perm :
27497K->27497K(65536K)], 1.7382875 secs]
Total time for which application threads were stopped: 3.3583027 seconds
Application time: 5.9312480 seconds
25498.413: [GC 25498.413: [DefNew: 5241K->93K(169600K), 0.0172377
secs]25498.430: [Tenured: 220393K->220184K(349568K), 1.2922102 secs]
225635K->220184K(519168K), 1.3096568 secs]
25499.722: [Full GC 25499.722: [Tenured: 220184K->220175K(349568K),
1.1997437 secs] 220184K->220175K(519168K), [Perm :
27497K->27497K(65536K)], 1.1999031 secs]
Total time for which application threads were stopped: 2.5211851 seconds
Application time: 30.6028562 seconds
25531.528: [GC 25531.528: [DefNew: 17776K->156K(169600K), 0.0171998
secs]25531.545: [Tenured: 220175K->220330K(349568K), 1.2259878 secs]
237951K->220330K(519168K), 1.2433891 secs]
25532.771: [Full GC 25532.771: [Tenured: 220330K->220239K(349568K),
1.6592153 secs] 220330K->220239K(519168K), [Perm :
27499K->27498K(65536K)], 1.6593672 secs]
Total time for which application threads were stopped: 2.9038367 seconds
Application time: 60.4048509 seconds
25594.836: [GC 25594.837: [DefNew: 33874K->231K(169600K), 0.0168536
secs]25594.853: [Tenured: 220239K->220323K(349568K), 1.2180811 secs]
254113K->220323K(519168K), 1.2351280 secs]
25596.072: [Full GC 25596.072: [Tenured: 220323K->220313K(349568K),
1.2081214 secs] 220323K->220313K(519168K), [Perm :
27498K->27498K(65536K)], 1.2082667 secs]
Total time for which application threads were stopped: 2.4445252 seconds
Application time: 197.3583592 seconds
25794.639: [GC 25794.640: [DefNew: 106524K->606K(169600K), 0.0115235
secs]25794.651: [Tenured: 220313K->220918K(349568K), 1.2305807 secs]
326837K->220918K(519168K), 1.2423031 secs]
25795.882: [Full GC 25795.882: [Tenured: 220918K->220684K(349568K),
1.4731407 secs] 220918K->220684K(519168K), [Perm :
27499K->27498K(65536K)], 1.4732974 secs]
Total time for which application threads were stopped: 2.7168052 seconds
Application time: 164.9563502 seconds
25962.313: [GC 25962.313: [DefNew: 82927K->507K(169600K), 0.0091128
secs]25962.322: [Tenured: 220684K->220600K(349568K), 1.2012755 secs]
303612K->220600K(519168K), 1.2105846 secs]
25963.523: [Full GC 25963.524: [Tenured: 220600K->220590K(349568K),
1.2976048 secs] 220600K->220590K(519168K), [Perm :
27498K->27498K(65536K)], 1.2977544 secs]
Total time for which application threads were stopped: 2.5095478 seconds
Application time: 318.2895362 seconds
26283.112: [GC 26283.112: [DefNew: 164480K->164480K(169600K), 0.0000494
secs]26283.112: [Tenured: 220590K->221495K(349568K), 1.3880562 secs]
385070K->221495K(519168K), 1.3883772 secs]
Total time for which application threads were stopped: 1.3895031 seconds
Application time: 318.6411712 seconds
26603.143: [GC 26603.143: [DefNew: 164480K->164480K(169600K), 0.0000486
secs]26603.143: [Tenured: 221495K->222391K(349568K), 1.3624147 secs]
385975K->222391K(519168K), 1.3626644 secs]
Total time for which application threads were stopped: 1.3641826 seconds
Application time: 318.5726610 seconds
26923.080: [GC 26923.080: [DefNew: 164480K->164480K(169600K), 0.0000489
secs]26923.080: [Tenured: 222391K->221000K(349568K), 1.3836587 secs]
386871K->221000K(519168K), 1.3839017 secs]
Total time for which application threads were stopped: 1.3854997 seconds
Application time: 319.1556307 seconds
27243.621: [GC 27243.621: [DefNew: 164480K->164480K(169600K), 0.0000463
secs]27243.621: [Tenured: 221000K->221899K(349568K), 1.7850120 secs]
385480K->221899K(519168K), 1.7852453 secs]
Total time for which application threads were stopped: 1.7865089 seconds
Application time: 318.6705844 seconds
27564.079: [GC 27564.079: [DefNew: 164480K->164480K(169600K), 0.0000428
secs]27564.079: [Tenured: 221899K->222801K(349568K), 1.5890202 secs]
386379K->222801K(519168K), 1.5892684 secs]
Total time for which application threads were stopped: 1.5909515 seconds
Application time: 318.5994769 seconds
27884.269: [GC 27884.269: [DefNew: 164480K->164480K(169600K), 0.0000471
secs]27884.269: [Tenured: 222801K->223693K(349568K), 1.6433190 secs]
387281K->223693K(519168K), 1.6435445 secs]
Total time for which application threads were stopped: 1.6447412 seconds
Application time: 94.5616049 seconds
27980.476: [GC 27980.476: [DefNew: 51783K->327K(169600K), 0.0179721
secs]27980.494: [Tenured: 223693K->220424K(349568K), 1.2211616 secs]
275476K->220424K(519168K), 1.2393261 secs]
27981.715: [Full GC 27981.715: [Tenured: 220424K->220413K(349568K),
1.2103792 secs] 220424K->220413K(519168K), [Perm :
27498K->27498K(65536K)], 1.2105386 secs]
Total time for which application threads were stopped: 2.4509644 seconds
Application time: 32.3719363 seconds
28015.299: [GC 28015.299: [DefNew: 18543K->164K(169600K), 0.0073310
secs]28015.306: [Tenured: 220413K->220577K(349568K), 1.2056721 secs]
238957K->220577K(519168K), 1.2131937 secs]
28016.512: [Full GC 28016.512: [Tenured: 220577K->220252K(349568K),
1.2023572 secs] 220577K->220252K(519168K), [Perm :
27499K->27498K(65536K)], 1.2025188 secs]
Total time for which application threads were stopped: 2.4167372 seconds

--------
08/01/03 17:32:28 Stop process



 



Thanks & Regards
Chris Guan
Tel: 24056255







IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is not intended for you, please delete it immediately unread.  The internet cannot guarantee that this communication is free of viruses, interception or interference and anyone who communicates with us by email is taken to accept the risks in doing so.  Without limitation, OOCL and its affiliates accept no liability whatsoever and howsoever arising in connection with the use of this email.  Under no circumstances shall this email constitute a binding agreement to carry or for provision of carriage services by OOCL, which is subject to the availability of carrier's equipment and vessels and the terms and conditions of OOCL's standard bill of lading which is also available at http://www.oocl.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20080114/345d85e6/attachment.htm>
-------------- next part --------------
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use


More information about the hotspot-gc-dev mailing list