Jump to Content
  Previous
Content starts here

Customizing Settings

You can change preferences for time-outs, communication ports, updating frequency, etc. for the Memory Leak Detector.

Setting Customization Procedures

This section shows you how:

To Open the Preferences Window

To Change General Settings

  1. Click Window > Preferences > JRockit Mission Control > Memory Leak Detector.
  2. Deselect the Attempt to run Memory Leak Detector in a tab option.
  3. If you let the Memory Leak Detector open in its own window, it de couples from the JRockit Mission Control window and it opens in a new window. The menus changes slightly to become more similar to the previous release. This setting takes effect the next time you start the Memory Leak Detector.

  4. Click OK.

To Change Communication Settings

  1. Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Communication.
  2. Select one of the communication options for the Memory Leak Protocol (MLP) communication.
    • Let OS choose-this is a convenient choice if you are not sitting behind a firewall.
    • Use fixed port-this is used when you are running one JVM behind a firewall.
    • Use port relative to JMX port-this is used when you are running several JVMs on the same computer and the computer is behind a firewall. You decide how many increments (a number between 1 and 65535) you want the TCP port for the MLP communication to be.
  3. Click OK.

To Change Graphs Settings

  1. Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Graphs.
  2. The following can be set:

    • Animate layouts, when selected, animates the expansion of a node on the type in Types tab and the Instances tab.
    • Automatically center the last expanded node, when selected, centers a type in the viewing area for the Types tab and Instances tab.
    • Number of referred nodes to add when a node is expanded, when set, controls how many nodes you want to be displayed in the Types tab and Instances tab. If you specify a very high number, the view can become cluttered.
    • Show fully qualified class names in graph nodes, when selected, displays the complete class name in the graphs of the Types tab and Instances tab.
  3. Click OK.

To Change Instance Limits

  1. Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Instance limits.
  2. The following can be set:

    • Number of array elements to fetch when inspecting arrays-These elements are displayed in the Types tab when you have selected List Largest Arrays.
    • Maximum number of instance relations to list-Here you set the number of instances you want to list when doing List instances of a type. The list is shown in the Types tab under Instances.
    • Timeout in seconds for fetching instance relations-The instance relation is showed in the Instances tab. A time out error can be caused by too many instances that need to be fetched.
    • Maximum keep alive size to trace, in bytes-The Memory Leak Detector looks at an object until it reaches this value.
  3. Click OK.

To Change Trend Settings

  1. Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Trend.
  2. The following can be set:

    • Lowest heap usage to report.
    • Trend refresh interval.
  3. Click OK.
  Previous