bloomberg / memray

Memray is a memory profiler for Python
https://bloomberg.github.io/memray/
Apache License 2.0
13.36k stars 397 forks source link

continous profiling of memray #529

Closed zdyj3170101136 closed 10 months ago

zdyj3170101136 commented 10 months ago

if i want to continous profiling my python process.

i should resuce the memray overhead as much as i can.

is there have any solution?

zdyj3170101136 commented 10 months ago

there is two solution: 1, run memray attach run pid periodicity.

2,memray export a http hanlder, i call the api, and then it return the memory profiling data.