Bugs item #1201461, was opened at 2005-05-13 15:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1201461&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Alan (franz2)
Assigned to: Nobody/Anonymous (nobody)
Summary: suspected cPickle memory leak 

Initial Comment:
    I believe there is a memory leak in cPickle.  I
have a parallel code which uses array() and indices()
from Numeric to massage data buffers before being sent
and received by Pypar.  Pypar subsequently uses cPickle
to pickle the data.  After many hours of execution, my
code crashes with one of the following error messages
(depending upon the run):


    a = zeros(shape, typecode, savespace)
MemoryError:  can't allocate memory for array


or:


    s = dumps(x, 1)
MemoryError:  out of memory


I have since modified my code to use a different data
format so cPickle is no longer used from PyPar and now
the code runs fine.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1201461&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to