Skip to content

Memory leakage #256

Answered by godlygeek
leonballonigomes asked this question in Q&A
Discussion options

You must be logged in to vote

You certainly can. You'd run your program with something like:

memray run -f -o memray_capture.bin --trace-python-allocators yourfile.py

and then you can generate a report from that capture file using:

memray flamegraph --leaks memray_capture.bin

and then open that report in a web browser. See the memray flamegraph docs and our docs on Python allocators.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by godlygeek
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants