8000 Explicitly close stores during tests. · sailfish009/zarr-python@ea6ec6c · GitHub
[go: up one dir, main page]

Skip to content

Commit ea6ec6c

Browse files
committed
Explicitly close stores during tests.
This is especially troublesome on 32-bit systems with LMDB, as opening an LMDB store maps 2**28 blocks, and letting the gc clean them up can cause excess memory pressure. Eventually, this results in LMDB tests failing to open a store because it can't find a 2**28 block to mmap.
1 parent 3564da4 commit ea6ec6c

File tree

4 files changed

+288
-2
lines changed

4 files changed

+288
-2
lines changed

docs/release.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Next release
1010
* Improve error message in Jupyter when trying to use the ``ipytree`` widget
1111
without ``ipytree`` installed.
1212
By :user:`Zain Patel <mzjp2>; :issue:`537`
13+
* Explicitly close stores during testing.
14+
By :user:`Elliott Sales de Andrade <QuLogic>`; :issue:`442`
1315

1416

1517
.. _release_2.4.0:

0 commit comments

Comments
 (0)
0