Performing garbage collection

About this task

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.

The Perform GC option in OpsCenter is not the same as the nodetool garbagecollect command.


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.


  1. Click cluster name > Nodes.

  2. In the List view, select one or more nodes.

  3. From the Other Actions menu, click Perform GC.

    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

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000,