A Friday 23 April 2010 16:06:36 Anthony Foglia escrigué: > 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.)
Yeah. As I've already said, HDF5 does not still support removing the cache completely. Perhaps it will shortly. -- Francesc Alted ------------------------------------------------------------------------------ _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users