[New-bugs-announce] [issue19443] add to dict fails after 1, 000, 000 items on py 2.7.5

Milton Mobley report at bugs.python.org
Wed Oct 30 05:43:03 CET 2013

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list