h5info appears to hang when reading large H5 files

9 visualizaciones (últimos 30 días)
Christopher
Christopher el 30 de Dic. de 2022
Respondida: Govind KM el 9 de Dic. de 2024
I am using 2019b and when I attempted to use h5info to read a large (1.7 GB H5 file), if I attemp to read the entire data set to get information for the whole file it never (after 8 hours I gave up) returns.
info = h5info(filename);
If I just request info about a single group in the file it works fine.
info = h5info(filename, '/tag12-34');
When reading the entire file, I don't get any errors, I have plenty of memory, the matlab process continues to use almost all of the one of the cores, but it just does just does not return. Memory useage sits at around 25%
It all works fine for smaller files, not sure what I can do.
I don't think there is anything wrong with the h5 file itself.
Thanks for any help.

Respuestas (1)

Govind KM
Govind KM el 9 de Dic. de 2024
Hi Christopher,
I was facing a similar issue when trying to read an HDF5 file. A workaround for me was to use other HDF5 commands, as mentioned in this MATLAB Answers post:
More information on H5F.open and other HDF5 file access functions can be found here:
Hope this is helpful!

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by