Performing garbage collection

Perform garbage collection (GC) using the Perform GC option in Nodes administration of OpsCenter monitoring.

Perform garbage collection (GC) using the Perform GC option in Nodes administration of OpsCenter monitoring. Performing GC forces the Java Virtual Machine (JVM) on the selected node to perform garbage collection.
Note: The Perform GC option in OpsCenter is not the same as the nodetool garbagecollect command.

Prerequisites

If OpsCenter role-based security is enabled, be sure that the permission for the Garbage Collection option in Node Operations is enabled for the appropriate user roles.

Procedure

  1. Click cluster name > Nodes.
  2. In the List view, select one or more nodes.
  3. From the Other Actions menu, click Perform GC.
    Tip: The Perform GC option is also available from the Actions menu in the Node Details dialog.
    The Garbage Collect dialog appears and warns of a spike in latency.

    Confirm garbage collection dialog

  4. Click Run GC.
    A message in the top banner indicates garbage collection is in progress. Click the Show Details link to view the progress in the Activities page General tab. The banner message indicates when the garbage collection is complete.

    Banner message that gc is complete