JRockit Memory Leak Detector User Guide

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Introduction

The BEA JRockit Memory Leak Detector detects memory leaks within Java applications that run on BEA JRockit. A memory leak means application code is holding on to memory that is not used by the application any more. The BEA JRockit Memory Leak Detector is a real-time profiling tool that gives information about what type of objects are allocated, how many, of what size, and how they relate to each other. Unlike other similar tools, there is no need to create full heap dumps that you need to analyze at a later stage. The data presented is fetched directly from the running JVM, which can continue to run with a relatively small overhead. When the analysis is done, the tool can be disconnected and the JVM will run at full speed again. This makes the tool viable for use in a production environment.

The purpose of this tool is to display memory leaking object types (that is, classes) and provide help to track the source of the problem. Another purpose of this tool is to help increase the understanding and knowledge to avoid similar programming errors in future projects.

The following subjects are covered in this section:

 


What is New in the BEA JRockit Memory Leak Detector

Please see the Release Notes for more information.

 


JRockit Mission Control License Information

The following license types are currently available:

To download the license you need, please visit:

http://dev2dev.bea.com/jrockit/tools.html

 


The BEA JRockit Memory Leak Detector Overhead

The extra cost of running the BEA JRockit Memory Leak Detector against a running BEA JRockit is very small and is noticeable only in that garbage collections take a little bit more time. The overhead of enabling allocation stack traces can be more significant and should therefore be used with care. This provides for a low cost monitoring and profiling of your application.

 


About this User Guide

In this document you will be guided through how you can spot a memory leak in your Java application. You will also get hints on how to repair a memory leak. This user guide assumes that you know what a JVM is and that you are familiar with Java application development.

 


Finding Additional Information

You can find additional information about BEA JRockit throughout the BEA JRockit documentation set. For a complete list of available documents, please refer to the BEA JRockit JDK Online Documentation.


  Back to Top       Previous  Next