Out of Memory Errors

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:

art Allocated Java ...

Get Oracle WebLogic Server 11g Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.