-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
The trace handler process stores start time and arguments for each function call in its process dictionary so that it can fetch it when the function returns. However it is possible that the function finished event (return_from or exception_from) never returns. (Eg. the function does an infinite loop or calls another function that does that. Or the process executing the function exits/gets killed without crashing)
One idea is to garbage collect such entries from the procdict removing those older than max_duration.