New issue 2226: Excessive heap growth with simple program https://bitbucket.org/pypy/pypy/issues/2226/excessive-heap-growth-with-simple-program
Ivan Kozik: I have a program that reads ~50KB-4MB of data from a subprocess every 12 seconds, and after running it for about a month, the pypy process (pypy 4.0.1 on Ubuntu 15.10) uses ~950MB resident memory, while I expect it to be using much less. A simplification of that program exhibits the problem in less than a minute: ``` import random while True: contents = " " * random.randint(50000, 4000000) ``` I believe pypy is making an erroneous assumption about the need for heap growth. fijal told me to file this and that "this looks relatively serious". _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue