Topic Last Modified: 2005-11-18
The Microsoft® Exchange Server Analyzer Tool reads the following registry entry to determine whether LeakDiag.exe is enabled on the computer:
If the Exchange Server Analyzer finds the value for EnableAutoStart set to 1, a warning is displayed. EnableAutoStart is configured using the LeakDiag user interface. The default value is 0. A value of 1 indicates that LeakDiag is enabled and active.
LeakDiag is a set of tools that helps developers, support professionals, and information technology (IT) personnel diagnose memory leaks, fragmentation, and other memory-related issues in applications or services that are on computers running Microsoft Windows NT® Server 4.0, Windows® 2000 Server, Windows XP, and Windows Server™ 2003.
The LeakDiag tools can be used to pinpoint memory leaks down to the line of code. Using Detours technology from Microsoft, LeakDiag intercepts calls to specified memory allocations and tracks the various call stacks. It reports on the memory that has been allocated but not yet freed. This information lets a person who is troubleshooting a memory leak problem see exactly what components made the allocations. With correct debug symbols, even the line of code that requested the allocations can be seen.
It is recommended that you do not run LeakDiag on Exchange servers that are in a production environment. When enabled, LeakDiag will track all memory allocations for all processes every time the Exchange server is started. This will consume a massive amount of processor and memory resources and is not recommended unless you are actively troubleshooting a memory-related problem. If you are not actively troubleshooting a memory-related problem, you should turn off LeakDiag. Running LeakDiag in a production Exchange Server environment could lead to memory fragmentation and depletion, and ultimately Exchange failure.
|You should always troubleshoot problems with LeakDiag during off-peak hours. Using LeakDiag during periods of heavy or peak usage can cause a significant decrease in the performance of your Exchange Server computer.|
To turn off Auto Start in LeakDiag.exe
Click Start, and then click LeakDiag.
On the Tools menu, click Options.
On the Options page, clear the Allow AutoStart check box, and then click OK.
For the latest version of LeakDiag, see the Microsoft public FTP site (http://go.microsoft.com/fwlink/?LinkId=41401).