Francesc Alted wrote: > Actually both PyTables and HDF5 have caches, and this is certainly the > problem. You can disable caches on the PyTables side by setting the > NODE_CACHE_SLOTS parameter to 0. You may also try to disable the HDF5 cache > for nodes by setting METADATA_CACHE_SIZE to 0 too (only if you are using HDF5 > 1.8.x), but I don't think this scenario is supported yet in HDF5. More info > about these paramteres in: > > http://www.pytables.org/docs/manual/apc.html#id356485
I'm having a problem with setting these to 0. (It's probably the METADATA_CACHE_SIZE, since it's an HDF5 library error.) And setting it in both the reader and writer is having no effect. In [8]: fyle = tables.openFile("eggs.h5",mode="a", METADATA_CACHE_SIZE=0, NODE_CACHE_SLOTS=0) HDF5-DIAG: Error detected in HDF5 (1.8.4) thread 0: #000: H5F.c line 2538 in H5Fset_mdc_config(): H5AC_set_cache_auto_resize_config() failed. major: Invalid arguments to routine minor: Bad value #001: H5AC.c line 2743 in H5AC_set_cache_auto_resize_config(): Bad cache configuration major: Invalid arguments to routine minor: Bad value #002: H5AC.c line 3026 in H5AC_validate_config(): error(s) in new config. major: Invalid arguments to routine minor: Bad value #003: H5C.c line 8256 in H5C_validate_resize_config(): initial_size must be in the interval [min_size, max_size] major: Invalid arguments to routine minor: Bad value In [9]: tables.hdf5Version Out[9]: '1.8.4' In [18]: tables.__version__ Out[18]: '2.1.2' (I also tried setting the variable in tables.parameters instead of openFile and got the same error.) -- Anthony Foglia Princeton Consultants (609) 987-8787 x233 ------------------------------------------------------------------------------ _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users