If Dill file is too large for RAM is there another

2019-08-30 05:51发布

If a dill file is to large to RAM, is it possible to load it in an alternative method. For example python3 is throwing Memory Errors when I load a serialized object of about 1.2 GB.

file = open('SerializedData.pkl', 'rb')
data = dill.load(file)

This will not pass because the RAM is too small. However, is it possible to load it in a different way so that I extract the data without overloading the RAM?

0条回答
登录 后发表回答