Skip to content

python3.11 crashes on windows10 #163

Open
@Kawasaki5963

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions