[pypy-issue] Issue #2336: memory leak (pypy/pypy)
Steven Marks
issues-reply at bitbucket.org
Fri Jul 1 11:09:18 EDT 2016
New issue 2336: memory leak
https://bitbucket.org/pypy/pypy/issues/2336/memory-leak
Steven Marks:
I have the following code running in pypy 5.3.1:
```
#!python
import random
data=[str(random.randint(0,100)) for x in range(1,10000000)]
raw_input("Hit enter")
```
This code uses ~540MB of memory. If you remove either the str or random.randint function call from the code and leave the other function the memory usage is only ~150MB
More information about the pypy-issue
mailing list