Starting the lightweight memory leak detection
If we have a memory leak and want to confirm the leak, or we want to automatically generate heap dumps on Java virtual machines (JVM) in WebSphere Application Server, consider changing the minimum and maximum heap sizes to be equal. This change provides the memory leak detection more time for reliable diagnosis.
Start lightweight memory leak detection
- Click...
Servers | Application servers | server | Performance and Diagnostic Advisor Configuration | Runtime tab | Enable the Performance and Diagnostic Advisor Framework | OK | Performance and Diagnostic Advice configuration
- Start the memory leak detection advice and stop any other unwanted advice.
To achieve the best results for performance tuning, start the Performance and Diagnostic Advisor when a stable production level load is running.
IBM recommends using the High Performance Extensible Logging (HPEL) log and trace infrastructure . We view HPEL log and trace information using the logViewer .
What to do next
We can monitor any notifications of memory leaks by checking the SystemOut.log file or Runtime Messages. See View the Performance and Diagnostic Advisor recommendations topic.
Subtopics
- Lightweight memory leak detection
This topic describes memory leaks in Java applications and introduces lightweight memory leak detection.
Enable the Runtime Performance Advisor tool using scripting Enable automated heap dump generation Use High Performance Extensible Logging to troubleshoot applications