-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close hdf5 file after resuming or after errors occur (#286)
## Summary of changes Fixes two possible source of memory leakage: - Explicitly closes the hdf5 file after resuming a partial run - Explicitly closes the hdf5 file after an error occurs whilst reading or creating the datasets. ## Instruction for review/testing - General code review. - Advice on limiting unnecessary memory usage.
- Loading branch information
1 parent
0f6fd91
commit 0705b8f
Showing
2 changed files
with
99 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters