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

python3.11 crashes on windows10 #163

Open
Kawasaki5963 opened this issue Aug 26, 2024 · 0 comments
Open

python3.11 crashes on windows10 #163

Kawasaki5963 opened this issue Aug 26, 2024 · 0 comments

Comments

@Kawasaki5963
Copy link

Hello
I am using plyvel-ci1.5.1 with python3.11 on windows10.
When I run the following code, python crashes the second time.

import plyvel
import random

db = plyvel.DB(r"<PATH>", create_if_missing=True)

with db.write_batch() as wb:
    for i in range(100000):
        k = v = random.randbytes(4)
        wb.put(k, v)

db.close()

However, if I disable Snappy compression, it runs normally.

import plyvel
import random

db = plyvel.DB(r"<PATH>", create_if_missing=True, compression=None) # <--

with db.write_batch() as wb:
    for i in range(100000):
        k = v = random.randbytes(4)
        wb.put(k, v)

db.close()

Thank you.

Repository owner locked as spam and limited conversation to collaborators Aug 26, 2024
Repository owner deleted a comment from xcloudzy Aug 26, 2024
Repository owner deleted a comment Aug 26, 2024
Repository owner deleted a comment from xcloudzy Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@Kawasaki5963 and others