pypy 2.6 memory leak bug!! very importent

hi, i use pypy 2.6 with BeautifulSoup module and pymongo. i make a spider with the pypy. when i run pypy ,i found a problem ,the pypy use memory higher then 6GB when i run pypy at once , the pypy use only 240mb memory! the screenshot in the attachment!

Hi, 2015-09-14 8:59 GMT+02:00 于大伟 <dcp2k@163.com>:
This might be because of the differences in memory management. Unlike CPython, PyPy does not free resources as soon as the last reference to an object goes away. See http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-r... The solution is often to close resources explicitly or use "with" blocks.
-- Amaury Forgeot d'Arc

Hi, 2015-09-14 8:59 GMT+02:00 于大伟 <dcp2k@163.com>:
This might be because of the differences in memory management. Unlike CPython, PyPy does not free resources as soon as the last reference to an object goes away. See http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-r... The solution is often to close resources explicitly or use "with" blocks.
-- Amaury Forgeot d'Arc
participants (3)
-
Amaury Forgeot d'Arc
-
Phyo Arkar
-
于大伟