Topic
  • 2 replies
  • Latest Post - ‏2014-11-28T20:25:25Z by TrentGray-Donald
PetrH
PetrH
7 Posts

Pinned topic JDK6 OutOfMemoryError on excessive GC - configurable threshold

‏2012-05-03T11:16:45Z |
Hello,
is there any possibility to specify custom percentage of time spent in GC for the -Xenableexcessivegc case?
As per your documentation the percentage seems to be fixed to 95%:

-Xenableexcessivegc If excessive time is spent in the GC, the option returns 

null 

for an allocate request and thus causes an OutOfMemory exception to be thrown. This action occurs only when the heap has been fully expanded and the time spent is making up at least 95%. This behavior is the default.

However I'd like to set it to lower value (about 90%) in order to hasten the OOME and the following heap dump generation.
As it doesn't seem to be possible, is there any chance for this to be implemented in future release?
Updated on 2012-05-16T07:42:27Z at 2012-05-16T07:42:27Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2736 Posts

    Re: JDK6 OutOfMemoryError on excessive GC - configurable threshold

    ‏2012-05-16T07:42:27Z  
    Hi,
    Currently, there is no option to customize the excessive GC threshold value. We appreciate for bringing up this requirement. We will share this requirement with our global team & study the need of it.

    Thank you

    Param
  • TrentGray-Donald
    TrentGray-Donald
    1 Post

    Re: JDK6 OutOfMemoryError on excessive GC - configurable threshold

    ‏2014-11-28T20:25:25Z  
    Hi,
    Currently, there is no option to customize the excessive GC threshold value. We appreciate for bringing up this requirement. We will share this requirement with our global team & study the need of it.

    Thank you

    Param

    FYI http://www-01.ibm.com/support/knowledgecenter/SSYKE2_6.0.0/com.ibm.java.doc.user.lnx.60/diag/appendixes/cmdline/xgc.html?lang=en now shows

    -Xgc:<excessiveGCratio | verbose | compact | nocompact >

     

    excessiveGCratio=value