New submission from Ramin Farajpour Cami <[email protected]>:
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
----------
components: Windows
messages: 387282
nosy: Ramin Farajpour Cami, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Never release buffer when MemoryError in prtin()
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43260>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com