incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Hiramoto <>
Subject how to force a GC in cronjob to free up disk space?
Date Thu, 10 Mar 2011 21:07:34 GMT
Reading the FAQ
"SSTables that are obsoleted by a compaction are deleted asynchronously
when the JVM performs a GC. You can force a GC from jconsole if necessary"

How can i force the GC with a simple java commandline?  Is this a bad idea?

Since i have lots of inserts and  deletes  I could  save 2X or 3X of my
disk requirements, about 40GB to 80GB which is useful on hosting where
disk is expensive.



View raw message