Network Deployment (Distributed operating systems), v8.0 > Tune performance > Obtaining 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 Java virtual machines (JVM) in WAS, 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 admin console:


Procedure

  1. Click Servers > Application servers in the admin 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.

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

With WAS v8 you can configure the server to use the HPEL log and trace infrastructure instead of using SystemOut.log , SystemErr.log, trace.log, and activity.log files or native z/OS logging facilities. If you are using HPEL, you can access all of your log and trace information using $PROFILE/bin/LogViewer.sh.


What to do next

We can monitor any notifications of memory leaks by checking the SystemOut.log file or Runtime Messages. See the View the Performance and Diagnostic Advisor recommendations topic.


Related


Lightweight memory leak detection
Enable the Runtime Performance Advisor tool using scripting
Enable automated heap dump generation
Use HPEL to troubleshoot applications

+

Search Tips   |   Advanced Search