Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lmdb.Error #152

Open
Ffmydy opened this issue Dec 2, 2019 · 4 comments
Open

lmdb.Error #152

Ffmydy opened this issue Dec 2, 2019 · 4 comments

Comments

@Ffmydy
Copy link

Ffmydy commented Dec 2, 2019

image

@ZhangXinNan
Copy link

The Same Error on Windows 10.

@xinmengyuan0103
Copy link

请问这个问题怎么解决

@ssocean
Copy link

ssocean commented Dec 20, 2020

请问这个问题怎么解决

env = lmdb.open(outputPath, map_size=*****)
把map_size的数值改小一点,这个表示占用空间大小

@zhong-xin
Copy link

zhong-xin commented Feb 2, 2021

@ssocean 你好,map size的大小如何确定,是否可以根据数据集的大小选择合适的map size的大小。我现在使用的map size大小是109951162777(102GB),我的数据集才几十MB,但是构建好的lmdb数据集却是102GB,这看似很不合理。我用的是win10系统。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants