Hi, 'del a' should remove 'a', as a reference to the tuple created by the 'range' function. If that is also the last reference, it can now be garbage-collected.
Of course, the question is if you really need to allocate such a big amount of memory. If you just need to iterate over some numbers, it's better to use 'xrange' instead of 'range': 'xrange' will not create the whole list of numbers in advance, but will create an iterator, producing the desired numbers one by one. With such large ranges, this will reduce memory consumption significantly. Cheers, --Tim -- http://mail.python.org/mailman/listinfo/python-list