How read extremely large HDF5 format data and resolve out of memory issue?
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I need to read several datasets from a 2TB HDF5 file which are needed for further computation.
If I simply coding as following,
varible1=h5read('path to .h5 file', 'path to dataset')
It would require ~500 GB array memory.
Is there any good way to solve this problem?
Thanks!
1 Commento
Risposte (1)
ROSEMARIE MURRAY
il 3 Mag 2022
You could use a fileDatastore with the read function h5read, which would allow you to specify a certain amount to read at a time.
Or you could try this datastore: https://www.mathworks.com/matlabcentral/fileexchange/64919-hdf5-custom-file-datastore-for-timeseries-in-matlab
0 Commenti
Vedere anche
Categorie
Scopri di più su HDF5 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!