I am using the cPickle module to serialization and de-serialization of heavy
python object (80 MB). When I try to save the object it gives the memory
Error. Any one can help me out of this problem. 

 

I am pickling the object as:

 

    def savePklFile(pickleFile, data):  

        pickledFile = open(pickleFile, 'wb')

        cPickle.dump(data, pickledFile, -1)

        pickledFile.close()        

 

my system has 2 GB of RAM.

 

Thanks,

Sibtey

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to