[Paraview-developers] how do I force garbage collection?

Joshua Murphy Joshua.Murphy at lasp.colorado.edu
Fri Feb 22 15:22:23 EST 2013


Hello,

I am writing a cache system for my reader, and I am trying to figure out how to force a garbage collection after I dump my cache.

Does anyone know how to force ParaView to collect garbage?  Currently after I purge my cache (I am calling Delete() on all of the objects and destroying the remainder of the cache map) the system memory does not free up… ParaView remains in control of all of the memory for the dumped cache items, and when the new cache is introduced, the memory usage just keeps going up.

I suppose it is possible that I am missing some fundamental understanding of how ParaView and VTK manage memory, so if someone could help that would be great.


Thanks,

Josh

[cid:91A5C34F-7843-4C4C-B168-D86C6C78592E]
Joshua J. Murphy
Computer Scientist
Laboratory for Atmospheric and Space Physics
University of Colorado, Boulder

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130222/4b77b661/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A93D829A-3C2C-4769-925A-35900ECAAE2C.png
Type: image/png
Size: 16467 bytes
Desc: A93D829A-3C2C-4769-925A-35900ECAAE2C.png
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130222/4b77b661/attachment-0001.png>


More information about the Paraview-developers mailing list