New submission from Milton Mobley:
d, i = {}, 0
while (i < 10000000):
n = i + 1
d[n] = n
i += 1
On Py 2.7.5 (windows7, x64, 4GB ram) this program slowed down obviously after
passing 1,000,000 adds and never completed or raised an exception.
Windows performance monitor showed it was only claiming about 1 MB memory per
second, and stopped claiming more memory at about 646MB. The only other large
memory consumer in the system was JRE using about 550 MB on behalf of Eclipse.
----------
components: Interpreter Core
messages: 201705
nosy: miltmobley
priority: normal
severity: normal
status: open
title: add to dict fails after 1,000,000 items on py 2.7.5
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19443>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com