You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importosimportzarrstore=zarr.LMDBStore('array.mdb')
z=zarr.zeros((10, 10), chunks=(5, 5), store=store, overwrite=True)
z[...] =42store.close() # don't forget to call this when you're done
Problem description
Crash in storage.py when open.lmdb(,x).
I think cause by map_size too big.
original: map_size = (2**40 if sys.maxsize >= 2**32 else 2**28)
will raise File "D:\Programs\anaconda3\envs\py36\lib\site-packages\zarr\storage.py", line 1613, in __init__ self.db = lmdb.open(path, **kwargs) lmdb.Error: D:\WS\WS_Python\Homeworks\20190927pytorch_pipeline_zarr\array.mdb: �ϺЪ��Ŷ������C
to change map_size =500000000 then just ok.
Version and installation information
Please provide the following:
zarr.__version__ :2.3.2
Version of Python interpreter:3.6.6
Operating system (Windows 10)
How Zarr was installed (using pip into virtual environment)
The text was updated successfully, but these errors were encountered:
Simple test sample below:
Problem description
Crash in storage.py when open.lmdb(,x).
I think cause by map_size too big.
original:
map_size = (2**40 if sys.maxsize >= 2**32 else 2**28)
will raise
File "D:\Programs\anaconda3\envs\py36\lib\site-packages\zarr\storage.py", line 1613, in __init__ self.db = lmdb.open(path, **kwargs) lmdb.Error: D:\WS\WS_Python\Homeworks\20190927pytorch_pipeline_zarr\array.mdb: �ϺЪ��Ŷ������C
to change map_size =500000000 then just ok.
Version and installation information
Please provide the following:
zarr.__version__
:2.3.2The text was updated successfully, but these errors were encountered: