You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tracemalloc: remove arbitrary limit of 100 frames #63985
It should be possible to collect more than 100 frames per traceback (even it is much slower and uses much more memory).
I prepared the code to make it possible. Now only one thread should call traceback_new() at the same time, and the maximum number of frames is fixed while tracemalloc is tracing.
Activity
vstinner commentedon Nov 25, 2013
It should be possible to collect more than 100 frames per traceback (even it is much slower and uses much more memory).
I prepared the code to make it possible. Now only one thread should call traceback_new() at the same time, and the maximum number of frames is fixed while tracemalloc is tracing.
I will work on a patch.
python-dev commentedon Nov 27, 2013
New changeset eead17ba32d8 by Victor Stinner in branch 'default':
Closes bpo-19786: tracemalloc, remove the arbitrary limit of 100 frames
http://hg.python.org/cpython/rev/eead17ba32d8
vstinner commentedon Nov 27, 2013
I ran 17 random tests of the Python test suite: the longest traceback contains 85 frames, the mean is 31.6 frames.