How To Fix Python Pickle Dump Memory Error