page-brochureware.php
Memory on WebSphere Application Server WebSphere Support Team technical resolutions to common problems with memory, troubleshooting and and known issues articles. Support Help

Memory and OutOfMemoryError Issues

When a WebSphere server is started, a specified amount of system memory is allocated for the Java heap. The Java objects created by the running process are allocated a portion of this heap space. In addition, JVMs will allocate memory outside of the heap for threads, classloaders, classes, buffers and native code allocations (c malloc). During the execution of the process, if a Java object cannot be allocated, or if no memory is available for native allocations, an OutOfMemoryError (OOM) will be thrown. The first case is called Java heap exhaustion, and the second case is native memory exhaustion.

The first step in resolving an OutOfMemoryError is determining which type of memory exhaustion is occurring. This is often apparent in the Javacores generated by the error, but sometimes may require additional investigation to make a determination.

Once the problem is identified as either heap or native exhaustion, appropriate steps may be taken to begin debugging.


Tools and Links

Enabling verbosegc in WebSphere® Application Server

How to process an IBM SDK core dump with jextract (AIX, Linux, Windows)

JVM Diagnostic Guides

SDK Monitoring and Post Mortem Tools

MustGathers

MustGather: Out of Memory errors on AIX, Linux, or Windows

MustGather: Native Memory Issues on AIX

MustGather: Native Memory Issues on Linux

MustGather: Native Out Of Memory on Windows

Generating Dumps

Manually Generating Javacores, Heapdumps, and System Dumps through the Administrative Console

How to manually generate a Heapdump in WebSphere on AIX and Linux and Windows


image

IBM prides itself on delivering world class software support with highly skilled, customer-focused people.


Return to 101 home

Contact Support

Asia Pacific Europe Latin America North America Middle East and Africa