Thread Profiling

JamesHoward James.w.Howard at gmail.com
Mon Nov 5 20:32:24 CET 2007


Are there any good thread profilers available that can profile a
thread as it is running instead of after execution is completed?

I would like to find a python class which looks at a currently running
thread and if its memory exceeds a certain amount than kill it.
Ideally I would like the program to track memory used not just by that
thread, but by any threads or processes that it may spawn.

If there isn't anything like that, then something that lets me set the
maximum memory allowed to be allocated within a thread would be
acceptable also.

Thanks in advance,
James Howard




More information about the Python-list mailing list