WAS v8.5 > Tune performance > Obtain advice from the advisors > Use the Performance and Diagnostic Advisor

Start the lightweight memory leak detection

Use this task to start the lightweight memory leak detection using the Performance and Diagnostic Advisor.

If we have a memory leak and want to confirm the leak, or to automatically generate heap dumps on JVMs 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 Performance and Diagnostic Advisor, perform the following steps in the dmgr console:

  1. Click Servers > Application servers in the dmgr console navigation tree.

  2. Click server_name > Performance and Diagnostic Advisor Configuration.

  3. Click the Runtime tab.

  4. Enable the Performance and Diagnostic Advisor Framework.

  5. Click OK.

  6. From the Runtime or Configuration tab of Performance and Diagnostic Advisor Framework, click Performance and Diagnostic Advice configuration.
  7. Start the memory leak detection advice and stop any other unwanted advice.


Results

The memory leak detection advice is started.


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 HPEL log and trace infrastructure. With HPEL, one views logs using the LogViewer command-line tool in PROFILE/bin.

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


Subtopics


Related


Enable the Runtime Performance Advisor tool using scripting
Troubleshoot applications with HPEL
Enable automated heap dump generation


+

Search Tips   |   Advanced Search