Worried by Source->Output registering
Ken Martin
ken.martin at kitware.com
Wed May 17 09:20:59 EDT 2000
At 01:56 PM 5/17/00 +0100, John Biddiscombe wrote:
>Source->SetOutput(dataobject) causes output to be registered, and output in
>turn registers source.
>
>Problem is that if Source->Delete is called, it hangs aound until the
>dataobject is destroyed. This can consume excess memory in some (complex
>filter) cases.
If the data is being held onto by the application, then the filter that
produced it might be needed. To indicate that only the data is of interest
you can do
data->SetSource(NULL);
and that should break the chain and free the filter.
- Ken
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list