STINNER Victor added the comment:

leaking_tracemalloc.py: leaking.py adapted for tracemalloc.

Output:

[ Top 3 lines ]
leaking_tracemalloc.py:24: size=46.0 KiB (+46.0 KiB), count=476 (+476), 
average=99 B
leaking_tracemalloc.py:17: size=847 B (+847 B), count=6 (+6), average=141 B
/home/haypo/prog/python/default/Lib/_weakrefset.py:37: size=368 B (+368 B), 
count=2 (+2), average=184 B

I'm not sure that it's a leak because it doesn't depend on the number of 
queries nor the number of run of the test. It's maybe an internal sqlite cache.

----------
Added file: http://bugs.python.org/file36471/leaking_tracemalloc.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22272>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to