Skip to main content


developerWorks  >   Java™ technology  >   IBM developer kits  >   Tools  >  

IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer Version 2.3

The IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer (GCMV) is a tool which allows you to visualize and analyse the memory usage and garbage collection activity of your Java application.

developerWorks

GCMV Overview

IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer (GCMV) provides analysis and views of your applications verbose gc output. GCMV displays the data in both graphical and tabulated form. It provides a clear summary and interprets the information to produce a series of tuning recommendations.

Use GCMV to help you:

  • Monitor and fine tune Java heap size and garbage collection performance
  • Check for memory leaks
  • Size the Java heap correctly
  • Select the best garbage collection policy


Back to top


Features and benefits

GCMV uses a powerful statistical analysis engine which provides guidance on improvements in these areas:

  • Memory Leak Detection
    • Detect Java heap exhaustion and memory leaks
    • Detect "native" (malloc) heap exhaustion and memory leaks
  • Optimizing garbage collection performance
    • Determine garbage collection overhead
    • Detect long or frequent garbage collection cycles and causes
    • Recommend settings to avoid long or frequent garbage collection cycles
    • Recommend optimum garbage policy
  • Fine tuning of Java heap size
    • Determine peak and average memory usage
    • Recommend Java heap settings

GCMV provides a flexible user interface, making it possible to carry out further analysis of the data and to "drill down" into the causes of trends or data points of interest. The GCMV graphical interface provides the following capabilities:

  • Raw log, tabulated data and graph views
  • Ability to zoom and crop graphs
  • Ability to select data points in line plots and view in raw data
  • Customize the graph by adding/removing data and changing display units
  • Compare output from multiple logs
  • Save data to jpeg or .csv files for export to spreadsheets
  • Templates allow configuration to be saved

For example Figure 1 shows GCMV running in the IBM Support Assistant Workbench.

Figure 1. GCMV line plot

GCMV advanced perspective view



Back to top


System requirements

GCMV is installed within the IBM Support Assistant Workbench.

GCMV supports the following file types:

  • -verbose:gc logs from the following:
    • IBM Java 1.4.2, 5.0 and 6
    • Sun Java 1.4.2, 5.0 and 6
    • HP Java 1.4.2, 5.0 and 6
    • WebSphere Real Time V1 and V2
  • native memory logs from:
    • Linux®
    • AIX®
    • Windows®

    Details on how to generate the native memory logs for these platforms are provided in the GCMV help file.



Back to top


Installation

GCMV is installed within the IBM Support Assistant Workbench. To install GCMV complete the following steps:

  1. Download and install the IBM Support Assistant Workbench
  2. Install GCMV in the ISA Workbench:
    • Start the ISA Workbench.
    • If the "IBM Support Assistant Customization Wizard" is displayed. click Cancel to exit this wizard.
    • From the menu bar in ISA, select Update > Find New... > Tools Add-ons. The "Find new tools add-ons" wizard will be displayed.
    • Type 'Garbage Collection and Memory Visualizer' in the search box, then click the arrow next to JVM-based Tools to show matching tools.
    • Select "IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer" from the list then click Next.
    • Complete the wizard by following the on-screen instructions.
    • ISA will prompt you to restart the Workbench - select Yes to restart.


Back to top


Contact information

For comments specific to this download please send mail directly to us.



Back to top


Additional resources


Back to top


Document options

Document options requiring JavaScript are not displayed


Related information
General SDK FAQs
Newsgroups
Future plans

Special offers
Rate and  Review Rational products
DB2 pureScale Unlimited capacity for your data
WebSphere Application Server Hypervisor trial

More offers