Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48279

Re: Memory usage steadily going up while pickling objects

From Peter Otten <__peter__@web.de>
Subject Re: Memory usage steadily going up while pickling objects
Date 2013-06-15 12:18 +0200
Organization None
References <slrnkrn8ki.6mc.giorgos.tzampanakis@brilliance.eternal-september.org> <mailman.3352.1371261146.3114.python-list@python.org> <slrnkrodvp.6mc.giorgos.tzampanakis@brilliance.eternal-september.org>
Newsgroups comp.lang.python
Message-ID <mailman.3369.1371291493.3114.python-list@python.org> (permalink)

Show all headers | View raw


Giorgos Tzampanakis wrote:

> So it seems that the pickle module does keep some internal cache or
> something like that. 

I don't think there's a global cache. The Pickler/Unpickler has a per-
instance cache (the memo dict) that you can clear with the clear_memo() 
method, but that doesn't matter here.

> I don't want to resort to reading the pickle source
> code, but it seems I will have to...
 
I'd look somewhere else...

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Memory usage steadily going up while pickling objects Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-14 23:04 +0000
  Re: Memory usage steadily going up while pickling objects Dave Angel <davea@davea.name> - 2013-06-14 21:52 -0400
    Re: Memory usage steadily going up while pickling objects Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-15 09:41 +0000
      Re: Memory usage steadily going up while pickling objects Peter Otten <__peter__@web.de> - 2013-06-15 12:18 +0200
        Re: Memory usage steadily going up while pickling objects Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-15 11:06 +0000
      Re: Memory usage steadily going up while pickling objects dieter <dieter@handshake.de> - 2013-06-16 08:26 +0200
  Re: Memory usage steadily going up while pickling objects Peter Otten <__peter__@web.de> - 2013-06-15 08:37 +0200
    Re: Memory usage steadily going up while pickling objects Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-15 09:37 +0000

csiph-web