Pickle dump huge file without memory error

后端 未结 9 854
梦谈多话
梦谈多话 2020-12-23 14:26

I have a program where I basically adjust the probability of certain things happening based on what is already known. My file of data is already saved as a pickle

9条回答
  •  时光说笑
    2020-12-23 14:52

    Have you tried using streaming pickle: https://code.google.com/p/streaming-pickle/

    I have just solved a similar memory error by switching to streaming pickle.

提交回复
热议问题