You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Karl Hiramoto <ka...@hiramoto.org> on 2011/03/10 22:07:34 UTC
how to force a GC in cronjob to free up disk space?
Reading the FAQ http://wiki.apache.org/cassandra/FAQ
<http://wiki.apache.org/cassandra/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.
Thanks,
Karl