- 01 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
How do I use the Microsoft MemSnap monitoring tool?
- Updated on 01 Apr 2024
- 1 Minute to read
- Print
- DarkLight
- PDF
How do I use the Microsoft MemSnap monitoring tool?
Memsnap Overview
Product(s):
* Windows Server 2003 R2
* Windows Server 2003 with SP1
Updated: March 28, 2003
Memsnap.exe: Memory Profiling Tool
This command-line tool takes a snapshot of the memory resources being consumed by all running processes and writes this information to a log file.
MemSnap logs system memory usage to a log file with the default name of Memsnap.log. However, any file name can be chosen by specifying it at the command line when starting the tool.
Corresponding UI
There is no corresponding user interface for this tool.
Concepts
Memory leaks occur when programs allocate memory but neglect to free it when the memory is no longer being used.
For more information about memory management and memory leaks, search the Microsoft Developer Network.
Before you start
Enable pool tagging from the command prompt run this command
gflags /r 400
MemSnap Monitoring Tool
Could you extract the zip file to c:\memsnap. Note: the zip is password protected, the password is "MemSnap" which is case sensitive.
Start memsnap loop using LogPool.bat.
Leave this running until the server crashes or needs to reboot due to lack of resources.
Zip up the memsnap log file and send the log to me via email