In his message he explains that it's for " Forcing a GC ". GC stands for garbage collection. For some more background see: http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)
Cheers! 2012/1/25 <mike...@thomsonreuters.com> > Karl, > > Can you give a little more details on these 2 lines, what do they do? > > java -jar cmdline-jmxclient-0.10.3.jar - localhost:8080 > java.lang:type=Memory gc > > Thank you, > Mike > > -----Original Message----- > From: Karl Hiramoto [mailto:k...@hiramoto.org] > Sent: Wednesday, January 25, 2012 12:26 PM > To: user@cassandra.apache.org > Subject: Re: Restart cassandra every X days? > > > On 01/25/12 19:18, R. Verlangen wrote: > > Ok thank you for your feedback. I'll add these tasks to our daily > > cassandra maintenance cronjob. Hopefully this will keep things under > > controll. > > I forgot to mention that we found that Forcing a GC also cleans up some > space. > > > in a cronjob you can do this with > http://crawler.archive.org/cmdline-jmxclient/ > > > my cronjob looks more like > > nodetool repair > nodetool cleanup > nodetool compact > java -jar cmdline-jmxclient-0.10.3.jar - localhost:8080 > java.lang:type=Memory gc > > -- > Karl > > This email was sent to you by Thomson Reuters, the global news and > information company. Any views expressed in this message are those of the > individual sender, except where the sender specifically states them to be > the views of Thomson Reuters. >