You can generate a heap dump for a node to get the state of Java memory.
You can also generate a heap dump for a cluster. Generating a cluster-level heap dump creates a separate heap dump file for each node in the cluster. The name and location of each heap dump file display in the log of the corresponding node.
Heap dumps execute asynchronously, both for clusters and individual nodes.
If your environment file includes the
statAvailability attribute, ensure that it is set to distributed to enable thread dumps at the cluster level.
To generate a heap dump for a node:
- In NexJ System Admin Console, navigate to the Statistics page.
- In the list in the Statistics area, locate and expand the node on which to generate the heap dump, and select Diagnostics. For example, navigate to:
application_name>/<node_name>/DiagnosticsAvailable commands display in the details area on the bottom right.
- Double-click the dumpHeap command in the details area. The Invoke dumpHeap command dialog opens.
- Click Invoke. The heap dump executes. If the heap dump is for the current node, the location of the dump file displays in the Result area, and the name and location of the dump file display in the log. If the heap dump is for a different node, the name and location of the dump file display in the log of the node.
- Click the Close button on the top right corner of the dialog. The Invoke dumpHeap command dialog closes.
You have generated a heap dump for a node.