Memory sizes of python objects?
erno-news at erno.iki.fi
Sun Mar 24 18:00:35 CET 2002
In article <mailman.1016923416.31517.python-list at python.org>, "Clark C
. Evans" <cce at clarkevans.com> writes:
| Is there some rule of thumb that I can use to estimate,
| for example, take the character data you have and multiply by
| a factor of 4 to find the in-memory footprint of tuples, and
| each map is 1K plus 64 bytes per entry..
make a zillion of them, check memory usage increase with ps (or
equivalent on your platform), and divide by zillion.
More information about the Python-list