I generated a ~22-megabyte file with this small Python program:
        print "["
        for i in xrange(2000000):
            print "'" + str(i) + "', "
        print "]"
As the original poster suggested, Python uses at least several hundreds
of megabytes when execfile()ing that source.  I had to kill the program
before it exited because it brought my computer (1GB RAM) to a standstill.

Jeff

Attachment: pgpbtoKevjhNM.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to