[vtkusers] why is vtk writer not closing files?

Burlen burlen at apollo.sr.unh.edu
Tue Apr 17 17:31:07 EDT 2007


My bad I just noticed it wasn't vtk but HDF5 sorry!

On Tuesday 17 April 2007 05:24 pm, Burlen wrote:
> Hi I have a application of vtk that process data files converting them into
> vtk format. I'm use the legacy writers and vtk4.4. For each file I process
> I
>
> create some vtk data
> pass data through delaunay filter
> create a new writer
> write data from delaunay filter
> delete everything that was New()'d or Register(0)'d
>
> however the writer seems to be leaving files open, a look into /proc/PID/fd
> as the program runs confirms that the files are piling up until ulimit -n
> is reached at which point I can't open anymore files.
>
> Any one run into to this before?? Any one know what the issue is?? how to
> fix??

-- 

Burlen Loring
Space Science Center
Institute for the Study of Earth, Oceans, and Space
University of New Hampshire
39 College Road, Durham, NH 03824
Phone: 603-862-1140



More information about the vtkusers mailing list