1) After loading the heapdump into HeapAnalyzer, you will
first be presented with a window giving a summary of the heapdump. Six
lines down the recommended k-cluster is displayed (and highlighted below).
2) Using the k-cluster value above, in this example 31203, modify your
k-cluster value by adding the following to your generic JVM arguments.
-Xknnnn
Where nnnn specifies the maximum number of classes the kCluster
contains. -Xk instructs the JVM to allocate space for nnnn class
blocks in kCluster.
IBM recommends that you add about 10% to the reported value (for example:
31203 > 34400 ). In this example, -Xk34400 is a good
setting.
|