Analyzing verbose GC logs | Identifying memory fragmentation


Identify memory leaks


Figure 24-4 and Figure 24-5 show some examples of free space after GC. In a normal Free Space after GC graph, where the application is using the Java heap properly, the red line should be approximately on a horizontal line, as in Figure 24-4. In Figure 24-5, the declining red line means that the free space available to allocate is decreasing. If you suspect a memory problem, continue running the test until an OutOfMemory exception occurs because some downward trends in free space will stabilize after a period of time. This helps you to get better support from WebSphere Application Server and the JDK if the problem is related to or the JDK.

Figure 24-4 Example of normal Free Space after GC chart

Figure 24-5 Example of Free Space after GC chart with problem