memory problem

Stefan Job job at
Wed Jan 12 18:40:53 EST 2000

Hello everyone,

I have a problem with memory usage.
In my application I extract the image pixels from a vtkVolume16Reader
via the GetImage and GetScalarPointerForExtend methods.
It seems that in each call vtk allocates some memory.
What can I do to free this memory up again?

Code fragment:

_pixel  = (unsigned short*)

Thanks for any hints

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list