Memsnap Overview

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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.

System Requirements

The following are the system requirements for MemSnap:

  • Windows XP Professional or Windows Server 2003

File Required

  • Memsnap.exe

See Also

Concepts

Memsnap Syntax
Memsnap Examples
Alphabetical List of Tools
Windiff Overview
Remote Overview
Poolmon Overview
Msizap Overview
Msicuu Overview
Memsnap Overview
Gflags.exe
Devcon Overview
Pviewer Overview
Exctrlst Overview
Devcon Overview
Apmstat Overview