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

the really meaning of --native #534

Closed zdyj3170101136 closed 9 months ago

zdyj3170101136 commented 9 months ago

if i use python to call c api to allocate too much memory.

what is the true meaning of --native?

1, only i could see python callstack with --native.

2,i could see python stack but only i could see c/c++ callstack with --native?

if in second case, in most of case, even i use python to call c api to allocate memory, without --native is enough for me to debug.

pablogsal commented 9 months ago

Please, for questions like this use the discussions forum: https://github.com/bloomberg/memray/discussions