[Python-de] Python Memory Limits

Thomas Lehmann thomas.lehmann.private at googlemail.com
Fr Sep 9 08:15:51 CEST 2011


Es gibt viele Möglichkeiten:

def calculateString():
    return "".join(map(str,range(10**8)))

Traceback (most recent call last):
  File "Dummy.py", line 5, in <module>
    print(exceedMemory1())
  File "Dummy.py", line 3, in exceedMemory1
    return "".join(map(str,range(10**8)))
MemoryError



Mehr Informationen über die Mailingliste python-de