Help customers troubleshoot Java.lang.OutOfMemoryError:GC overhead limit exceeded error logging:
Specific website:
https://support.oracle.com/epmos/faces/documentdisplay?_afrloop=269134815562958&id=1554559.1& displayindex=2&_afrwindowmode=0&_adf.ctrl-state=2t8bqbn6s_165
Document id:1554559.1
Describe:
Report "Java.lang.OutOfMemoryError:GC Overhead limit Exceeded" exception when running WebLogic 10.3 and later in Sun JDK 1.6 with all remediation packages
The "Java.lang.OutOfMemoryError:GC overhead limit Exceeded" message indicates that the garbage collector has spent too much time for some reason. If you spend too much time on garbage collection, the parallel collector throws OutOfMemoryError: If you spend more than 98% of the total time on garbage collection, or if the heap recovered by garbage collection is less than 2%, OutOfMemoryError will be thrown.
The ability to throw a "GC overhead limit Exceeded" message is designed to prevent the application from working for a long time because the heap is too small.
Workaround:
You can avoid the above "Java.lang.OutOfMemoryError:GC overhead limit exceeded" exception by adding the following parameters to the JVM's startup script to disable the GC cost throttling feature in Sun JDK 1.6:
-xx:-usegcoverheadlimit
Troubleshoot Java.lang.OutOfMemoryError:GC overhead limit exceeded