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
- Click Window > Preferences > JRockit Mission Control > Memory Leak Detector.
- Deselect the Attempt to run Memory Leak Detector in a tab option.
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.
- Click OK.
To Change Communication Settings
- Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Communication.
- 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.
- Click OK.
To Change Graphs Settings
- Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Graphs.
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.
- Click OK.
To Change Instance Limits
- Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Instance limits.
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.
- Click OK.
To Change Trend Settings
- Click Window > Preferences > JRockit Mission Control > Memory Leak Detector > Trend.
The following can be set:
- Lowest heap usage to report.
- Trend refresh interval.
- Click OK.