Possible to see args/kwargs for individual function calls? #666
Replies: 1 comment 1 reply
-
No, Memray only records the stack at which each allocation was performed, it doesn't record anything about the local variables or function parameters. It does record the size of each allocation, so you can figure out whether the number of bytes allocated by a given function were spent all in one big allocation or in many small allocations. That's not surfaced well in the |
Beta Was this translation helpful? Give feedback.
-
Does memray record the args/kwargs of individual function calls?
Basically I just need to be able to tell whether the memory leak was due to lots of small allocations, or one huge one -- and if so, find out what exactly caused that huge allocation.
Beta Was this translation helpful? Give feedback.
All reactions