Starting the lightweight memory leak detection

 

+

Search Tips   |   Advanced Search

 

If you have a memory leak and want to confirm the leak, or you want to automatically generate heap dumps on Java virtual machines (JVM) in WebSphere Application Server, consider changing your minimum and maximum heap sizes to be equal. This change provides the memory leak detection more time for reliable diagnosis.

To start the lightweight memory leak detection using the Runtime Performance Advisor, perform the following steps in the administrative console:

  1. Click...

    Servers | Application servers | servername | Runtime Performance Advisor Configuration | Runtime tab

  2. Enable the Runtime Performance Advisor Framework.

  3. Click OK.

  4. From the Runtime or Configuration tab of Runtime Performance Advisor, click Advice Configuration.

  5. Start the memory leak detection advice and stop any other unwanted advice.

To achieve the best results for performance tuning, start the Runtime Performance Advisor when a stable production level load is running.

 

What to do next

We can monitor any notifications of memory leaks by checking the SystemOut.log file or Runtime Messages. For more information, see the Viewing the Runtime Performance Advisor recommendations topic.

 

See also

Lightweight memory leak detection
Enabling the Runtime Performance Advisor tool using scripting
Enabling automated heap dump generation