New submission from Min RK: There is a memory leak in the new dictionary resizing in 3.6, which can cause memory exhaustion in just a few iterations.
I don't fully understand the details of the bug, but it happens when resizing a dict with a split table several times. The only way that I have found to trigger this is by popping items off of an object's `__dict__` repeatedly. I've attached a script to illustrate the issue. Be careful with it, because it will eat up all your memory if you don't interrupt it. ---------- components: Interpreter Core files: test-dict-pop.py messages: 276418 nosy: minrk priority: normal severity: normal status: open title: Memory leak in dictionary resize type: crash versions: Python 3.6, Python 3.7 Added file: http://bugs.python.org/file44658/test-dict-pop.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28147> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com