http://java-monitor.com/forum/showthread.php?t=645
Dear All,
If you are struggling to understand the messages ParNew (promotion failed) and (concurrent mode failure), you might want to bone up on memory management and garbage collector internals.
ParNew (promotion failed): This means that your old generation has become fragmented and the data from Eden might not fit into a large enough contiguous chunk in old.
https://java.sun.com/j2se/reference/...whitepaper.pdf
http://blogs.sun.com/jonthecollector...the_sum_of_the
(concurrent mode failure): The GC predicts that the CMS collection will not complete in time before the Old generation becomes full. It aborts the run and does a stop-the-world instead.
http://blogs.sun.com/jonthecollector...t_the_heck_s_a
Kees Jan
Dear All,
Oh, and how to resolve these? Well, you have to experiment. Each option has downsides and may or may not make them unusable for your situation. Sorry, but there is no clear-cut answer.
ParNew (promotion failed): reduce Eden size, increase heap size.
(concurrent mode failure): make the GC kick in sooner with -XX:+CMSIncrementalMode and/or setting -XX:CMSInitiatingOccupancyFraction to lower than the default value.
Here is documentation on the JVM switches: http://blogs.sun.com/watt/resource/j...ions-list.html
Kees Jan
Reading for ParNew (promotion failed) and (concurrent mode failure)
最新推荐文章于 2022-07-05 11:28:50 发布
本文解释了 Java 中 ParNew (promotion failed) 和 (concurrent mode failure) 的原因及解决方法。ParNew (promotion failed) 表明老年代碎片化严重,导致 Eden 区的数据无法放入老年代连续的空间中。而 (concurrent mode failure) 则是因为 GC 预测 CMS 收集无法在老年代填满之前完成,从而触发了全局暂停。
847

被折叠的 条评论
为什么被折叠?



