[vtkusers] memory management

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Oct 8 11:33:32 EDT 2001


hi,

>>>>> "MZ" == Michele Zamponi <michele.zamponi at menci.com> writes:

    MZ> Hi, Prabhu, and thank you from your reply.  In my application
    MZ> i can create/destroy all the rendering windows I want.  the
    MZ> problem is that when I destroy a rendering window without
    MZ> exiting from the application, my memory doesn't free.

    MZ> Elsewise, if I quit the application everything goes well.

    MZ> But I need to create and destroy rendering windows many times
    MZ> in a working session.

Maybe you are using an older version with lots of leaks?  You can try
to compile VTK with the VTK_DEBUG_LEAKS flag and see if something is
wrong.  Also try turning the debug flag on and see if your objects are
really getting deleted or if there is some reference that shouldnt be
there.

prabhu



More information about the vtkusers mailing list