2011/6/5 Ben Elliston <b...@air.net.au> > Hi all. > > I have a large CArray that I needed to extend, so I created a new > array the right size, and copied the data elements into the new array. > I then used removeNode to remove the old array, but the HDF5 file has > not shrunk. How do I vacuum up the deleted items? >
You can't. This is currently not implemented in HDF5 itself (but I think they are working in smart reuse of unused space in future 1.10.x release). But you can always get rid of this space by explicitly copying the file via h5repack or ptrepack. Another possibility is to use an EArray in your app, since it does support extensibility right out-of-the-box. -- Francesc Alted
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users