Hello all.<br><br>I'm just a newbie, sorry if this question is too obvious or in the wrong list.<br><br>I'm using the marching cubes filter in Java, and the program works fine when testing small volumes. Big volumes exceeds my RAM capacity (4GB), so I made a cycle to break my volume in parts and call several times the marching cubes algorithm to obtain partial polygon meshes which I glue together later on. For the first few chunks in this process goes fine, until the program dies because of insufficient memory.<br><br>I have noticed that objects are not getting garbage-collected, no matter how I tried to decrease their reference count. I've called vtkGarbageCollector.Collect, vtkObjectBase.UnRegister, vtkObject.FastDelete in several forms with no luck. Java wrapped VTK seems to have the vtkObjectBase.Delete method missing.&nbsp; How do I free RAM from unused objects?<br><br>-Oscar Chavarro-<br><br>