Join Nostr
2026-06-08 15:09:09 UTC

Julia Evans on Nostr: just used memray to find out where my python program was allocating memory and was ...

just used memray to find out where my python program was allocating memory and was super impressed by how easy it was to use https://github.com/bloomberg/memray

the steps were just:

1. `memray run python3 my_program.py`
2. copy and paste the snippet it prints out ("memray flamegraph memray-manage.py.37954.bin") to generate a flamegraph
3. open the html flamegraph in my browser