Open
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
Labels
No labels