最近被内存泄漏的bug搞得头大。
linux下的内存追踪工具:
1.mtrace
2.Valgrind/kcachegrind
http://www.ibm.com/developerworks/cn/linux/l-cn-valgrind/
http://docs.kde.org/stable/en/kdesdk/kcachegrind/using-kcachegrind.html
最近被内存泄漏的bug搞得头大。
linux下的内存追踪工具:
1.mtrace
2.Valgrind/kcachegrind
http://www.ibm.com/developerworks/cn/linux/l-cn-valgrind/
http://docs.kde.org/stable/en/kdesdk/kcachegrind/using-kcachegrind.html