近期服务添加和改进了不少功能,同时也引发了不少问题,例如内存泄漏。用 Windbg 处理,搜索了很多帖子,方法大同小异,都是查看内存,然后根据泄漏的内存定位具体的代码位置,“基于WinDbg的内存泄漏分析” 这个帖子解决了我的问题,当然其它的帖子也有参考作用,在这都贴出来了。
http://www.cppblog.com/weiym/archive/2013/02/27/198109.html
Memory Leak Detection Using Windbg
http://www.codeproject.com/Articles/31382/Memory-Leak-Detection-Using-Windbg
使用windbg找内存泄露(memory leak)
http://blog.csdn.net/zhuo_zhibin/article/details/7782483
WinDbg定位内存泄露
http://blog.csdn.net/tuad999/article/details/6776533
pageheap.exe使用方法
http://blog.csdn.net/mniwc/article/details/6774683
http://www.cppblog.com/weiym/archive/2013/02/25/198072.html