Skip to content

Commit

Permalink
Add a clear of the repository in order to free HDF5 resources
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeVerney authored Sep 19, 2024
1 parent 51c9547 commit 2372715
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions python/example/fesapi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,24 @@
"epc_file.serializeFrom(repo)\n",
"epc_file.close()"
]
},
{
"cell_type": "markdown",
"id": "6614030b",
"metadata": {},
"source": [
"We can clear the repository to clean in memory repository and release HDF5 files."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "df354cf5",
"metadata": {},
"outputs": [],
"source": [
"repo.clear()"
]
}
],
"metadata": {
Expand Down

0 comments on commit 2372715

Please sign in to comment.