title: Is it possible to know at runtime when Garbage collection is occuring?
body: <p>Basically, I am using achartengine for a charting application. It seems like i have a memory leak somewhere so garbage collection is occuring somewhat often. The problem is, whenever GC occurs, it messes up my chart. I can call repaint() to fix it, but I would need to know when GC.</p>
  
  <p>Image of the messed up chart below</p>
  
  <p>[URL=http://img166.imagevenue.com/img.php?image=403999439_device_2011_07_11_122608_122_441lo.png][IMG]http://img166.imagevenue.com/loc441/th_403999439_device_2011_07_11_122608_122_441lo.png[/IMG][/URL] </p>