Nieuws

Setting the maximum Java heap size (Xmx) You set the maximum Java heap size of your program using the -Xmx option to the Java interpreter. To specifically limit your heap size to 64 MB the option ...
A single call to Runtime.freeMemory() proves insufficient because a JVM may decide to increase its current heap size at any time (especially when it runs garbage collection).
Most commonly used JVM parameters Of all the JVM options listed above, the most commonly used are Xms and Xmx, which set the minimum and maximum heap size, respectively. The following example sets the ...
Description of problem I ran into OutOfMemoryError: GC overhead limit exceeded sometimes on my play framework app. I think that is because heroku-buildpack-scala picked up default setting JAVA_TOOL ...
You can fix your Java memory leak problem without a costly JVM heap dump. Just use Java Flight Recorder's Old Object Sample event and view the recording in JDK Mission Control.