问题
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?
来源:https://stackoverflow.com/questions/32465186/if-dill-file-is-too-large-for-ram-is-there-another-way-it-can-be-loaded