[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, that was easy :) -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 048d8d9aecf1 by Antoine Pitrou in branch 'default': Issue #15291: Fix a memory leak where AST nodes where not properly deallocated. http://hg.python.org/cpython/rev/048d8d9aecf1 -- nosy: +python-dev ___

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Strangely, the reference leak was fixed in: changeset: 75686:9e7f6ddc0d76 user:Benjamin Peterson date:Wed Mar 14 21:50:29 2012 -0500 summary: free AST's dict But it didn't fix the memory leak. -- ___

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, the culprit is: changeset: 75542:3877bf2e3235 user:Benjamin Peterson date:Mon Mar 12 09:46:44 2012 -0700 summary: give the AST class a __dict__ -- nosy: +benjamin.peterson, georg.brandl __

[issue15291] test_ast leaks memory a lot

2012-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou : On the default branch, if you run test_ast in a loop: ./python -E -m test -F test_ast you will see that the process memory use grows very quickly. This doesn't happen on 3.2. I'm not a Valgrind expert so perhaps someone else can take a look. Otherwise I'll