Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
333 views
in Technique[技术] by (71.8m points)

Unpack msgpack with Python in chunks

I have a huge msgpack file (approx. 50 Gb) which I want to unpack with Python. Obviously, I do not want to load everything into memory, thats why I want to unpack in chunks / batches. Is this possible using for example the pip msgpack module?

I tested out the streaming unpacker, but this one is unpacking the entire file in one chunk.

question from:https://stackoverflow.com/questions/65904638/unpack-msgpack-with-python-in-chunks

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...