Help with finding how much memory a variable is using

Neil Schemenauer nas at arctrix.com
Sun Mar 4 02:47:14 EST 2001


"Rich Somerfield" <rich_somerfield at tertio.com> writes:
> I am generating a huge, huge list of data (cant think of a
> decent way to reduce the required storage size and have it in a
> usable form).  Everytime i try to keep this list for future
> derivations I get a memory problem from Windows (effectively
> terminating my python script).

Depending on the data in the list the array module may help (eg
for storing an array of integers).

  Neil




More information about the Python-list mailing list