Memory Error

Sibtey Mehdi sibteym at
Wed Aug 27 09:30:36 CEST 2008

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)



my system has 2 GB of RAM.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list