Memory usage steadily going up while pickling objects

dieter dieter at handshake.de
Sun Jun 16 02:26:36 EDT 2013


Giorgos Tzampanakis <giorgos.tzampanakis at gmail.com> writes:
> ...
> So it seems that the pickle module does keep some internal cache or
> something like that.

This is highly unlikely: the "ZODB" (Zope object database)
uses pickle (actually, it is "cPickle", the "C" implementation
of the "pickle" module) for serialization. The "ZODB" is
used in long running Zope processes. Should pickling cause
significant memory leackage, this would have been observed
(and reported).




More information about the Python-list mailing list