Is it possible to configure the upper limit of the GC, and not just turn it on or off?
The Java GC Overhead upper limit is where Java throws an OutOfMemoryError when it does "too much" garbage collection. It is especially good when combined with HeapDumpOnOutOfMemoryError because it gives you a nice heapdump when your application does too much GC to use.
But I find it a little slower to strike, which led to a bunch of downtime when
I know that it can be turned on and off using -XX: -UseGCOverheadLimit, but this is the opposite of what I want. I want to configure the limit so that OutOfMemoryError is dropped earlier.
I searched for http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html etc. to no avail.
source share