September 2011
Intermediate to advanced
528 pages
19h 57m
English
Out of memory exceptions are some of the most common errors you come across when troubleshooting any JVM. Each Java process uses a memory area called the Java heap, and you set the maximum heap size using the JVM parameter -Xmx (MaxHeapSize). An out of memory in Java heap condition occurs when the server runs out of memory to allocate for a Java object. This may happen for a number of reasons, such as setting too low a value for the MaxHeapSize parameter, memory leaking, or an inappropriate garbage collection strategy.
When monitoring the JVM memory, the following is what the different heap components mean:
Allocated Java ...
Read now
Unlock full access