How to use windbg to detect memory leak
2011-11-23 16:57
1041 查看
Detecting memory leaks with WinDBG the modern (and free) way
http://cfc.kizzx2.com/index.php/detecting-memory-leaks-with-windbg-the-modern-and-free-way/
detailed instruction: Memory Leak Detection Using Windbg
http://www.codeproject.com/KB/cpp/MemoryLeak.aspx
simple instruction: Heap Debugging (Memory/Resource Leak) with WinDbg
http://hacksoflife.blogspot.com/2009/06/heap-debugging-memoryresource-leak-with.html
gflags /i leak.exe +ust
windbg -g leak.exe
gflags /i leak.exe -ust
In Windbg, you can check statck with below way:
{80} normal block at 0x003B4378, 8000 bytes long. Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
!heap -p -a 0x003B4378
http://cfc.kizzx2.com/index.php/detecting-memory-leaks-with-windbg-the-modern-and-free-way/
detailed instruction: Memory Leak Detection Using Windbg
http://www.codeproject.com/KB/cpp/MemoryLeak.aspx
simple instruction: Heap Debugging (Memory/Resource Leak) with WinDbg
http://hacksoflife.blogspot.com/2009/06/heap-debugging-memoryresource-leak-with.html
gflags /i leak.exe +ust
windbg -g leak.exe
gflags /i leak.exe -ust
In Windbg, you can check statck with below way:
{80} normal block at 0x003B4378, 8000 bytes long. Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
!heap -p -a 0x003B4378
相关文章推荐
- Memo: How to use UMDH to detect memory leak
- How to detect memory leak issue
- How to use umdh to check Windows memory leak
- Use UMDH to identify memory leak problem
- Howto find native code memory leak in Android
- How to use Eclipse Memory Analyzer to analyze JVM Memeory Issue
- How to use WinDbg to debug native programs
- Use Java Memory Analyzer and VM args to detect memory leakage
- How to Find A Memory Leak
- How to use pysphere set VM cpu or memory reservationrese value
- Use UMDH to identify memory leak problem
- How to Use the TimeDistributed Layer for Long Short-Term Memory Networks in Python 译文
- QSharedMemory: how to use
- How to install Windbg and get your first memory dump
- How to detect and avoid memory and resources leaks in .NET applications
- Hook API to detect memory leak
- How to use WinDBG to debug
- Use SOS to investigate the memory leak
- Umdhtools.exe: How to Use Umdh.exe to Find Memory Leaks
- Howto find native code memory leak in Android