memory leak debug

前端 未结 6 1819
臣服心动
臣服心动 2021-02-15 04:17

What are some techniques in detecting/debugging memory leak if you don\'t have trace tools?

6条回答
  •  萌比男神i
    2021-02-15 04:47

    One possibility could be to compile the code and execute it on a system where you can take advantage of built in tools (e.g. libumem on Solaris, or the libc capability on Linux)

提交回复
热议问题