by Jeremy Canfield | Updated February 2nd, 2018
This assumes that IBM Support Assistant has been installed. Launch Garbage Collection and Memory Visualizer.
- In the IBM Support Assistant, select the Tools tab.
- Select Garbage Collection and Memory Visualizer Desktop.
- Select Launch.
Analyze the native_stderr.log.
- In the Garbage Collection and Memory Visualizer tool, select File > Load File.
- Select the native_stderr.log file you will like to analyze.
- At the bottom of the GUI, select the Report tab.
Recommendations will be displayed. Following are the steps for known recommendations.
|Recommendation||What you should do|
|Your application appears to be leaking memory. This is an indication by the used heap increasing at a greater rate than the application workload (measured by the amount of data freed). To investigate further see IBM SDK User Guide.||Follow the instructions in my memory leak document.|
|Excessive time (x.xx%) is being spent in GC. Consider increasing the size of the heap.||Determine the average minimum and maximum heap utilization of the JVM. Set the minimum heap size to be near the average minimum heap. For example, if the average minimum heap utilization is near 300 MB, an minimum heap size of 256 MB would be appropriate. Set the maximum heap size to be somewhat greater than the average maximum heap utilization. For example, if the average maximum heap utilization is 600 MB, a maximum heap size of 1000 MB would be appropriate.|
|At one point ### objects were queued for finalization. Using finalizers is not recommended as it can slow garbage collection and cause wasted space in the heap. Consider reviewing your application for occurrences of the finalize() method. You can use IBM Monitoring and Diagnostic Tools - Memory Analyzer to list objects that are only retained through finalizers.||Contact the application developer|