G++ Multi-platform memory leak detection tool

后端 未结 6 575
不思量自难忘°
不思量自难忘° 2021-02-05 20:58

Does anyone know where I can find a memory memory leak detection tool for C++ which can be either run in a command line or as an Eclipse plug-in in Windows and Linux. I would l

6条回答
  •  清歌不尽
    2021-02-05 21:28

    There's the leaks tool on MacOS X (i don't know if it exists elsewhere) and i used to use a tool called memprof on linux. There's also valgrind which works on linux and is incredibly awesome but has a substantial performance hit, and ostensibly on macos but i haven't tried it.

    I am unaware of any such tools on windows however.

提交回复
热议问题