Total maximal size of data

denis denis-bz-gg at
Thu Jan 28 12:54:43 CET 2010

On Jan 25, 8:05 pm, Alexander Moibenko <moibe... at> wrote:
> I have a simple question to which I could not find an answer.
> What is the [total maximal] size of list including size of its elements?

Beware, sys.getsizeof(alist) is 4*len(alist) + a bit, regardless of
alists's contents ?!

  -- denis

More information about the Python-list mailing list