This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ramin Farajpour Cami
Recipients Ramin Farajpour Cami, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-02-19.05:27:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613712440.26.0.95537936361.issue43260@roundup.psfhosted.org>
In-reply-to
Content
Hi,


When we use "a"*10000000000 in print("a"*10000000000) function, Show "MemoryError",Again i use print("1") again display  "MemoryError", I think memory not release for use again, 


>>> print("a"*1000000000)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError
>>> print("1")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError

When i exit() python interpeter, and again print("1") it's work.

And I test in linux its' work:
>>> print("a"*1000000000)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError
>>> print("1")
1
>>> print("a")
a
>>>


Thanks.
Ramin
History
Date User Action Args
2021-02-19 05:27:20Ramin Farajpour Camisetrecipients: + Ramin Farajpour Cami, paul.moore, tim.golden, zach.ware, steve.dower
2021-02-19 05:27:20Ramin Farajpour Camisetmessageid: <1613712440.26.0.95537936361.issue43260@roundup.psfhosted.org>
2021-02-19 05:27:20Ramin Farajpour Camilinkissue43260 messages
2021-02-19 05:27:20Ramin Farajpour Camicreate