Low virtual memory error event has been overridden

[This topic is intended to address a specific issue called out by the Exchange Server Analyzer Tool. You should apply it only to systems that have had the Exchange Server Analyzer Tool run against them and are experiencing that specific issue. The Exchange Server Analyzer Tool, available as a free download, remotely collects configuration data from each server in the topology and automatically analyzes the data. The resulting report details important configuration issues, potential problems, and nondefault product settings. By following these recommendations, you can achieve better performance, scalability, reliability, and uptime. For more information about the tool or to download the latest versions, see "Microsoft Exchange Analyzers" at https://go.microsoft.com/fwlink/?linkid=34707.]  

Topic Last Modified: 2005-11-18

The Microsoft® Exchange Server Analyzer Tool reads the following registry entry to determine if the threshold for logging an event regarding virtual memory fragmentation has been manually overridden:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem\VM Error Level

If the Exchange Server Analyzer finds the VM Error Level registry value present and configured, a non-default configuration message is displayed.

In 32-bit Microsoft Windows® systems, there are two kinds of memory: physical memory (the amount of actual memory installed in the system) and virtual memory address space (a virtualized 4-gigabyte memory space). Regardless of how much physical memory is installed on the system, the total size of the virtual address space is always the same: 4 GB. Although it is not the case for all 32-bit applications, in the case of Exchange Server, virtual address space equals virtual memory; in other words, the terms are used interchangeably.

During the normal course of its operations, the Exchange information store will repeatedly allocate, use, and de-allocate virtual memory. When virtual memory is allocated, used, and de-allocated frequently, it can cause virtual memory fragmentation. Virtual memory fragmentation is analogous to file system fragmentation that can occur over time. After a while, allocated segments of virtual memory are no longer contiguous, and performance begins to suffer. In the case of the file system, you can run an application that performs defragmentation of the file system, and in most cases this can be done while the system is online and being accessed. In the case of virtual memory fragmentation, there is no defragmentation tool; instead, to correct the problem you must stop and start the Microsoft Exchange Information Store service or reboot the system.

When an Exchange Server computer has less than 16 MB of free contiguous virtual address space, the following error message is logged to the application event log:

Source:

MSExchangeIS

Category:

Performance

ID:

9582

Type:

Error

Description:

The virtual memory necessary to run your Exchange server is fragmented in such a way that normal operation may begin to fail. It is highly recommended that you restart all Exchange services to correct this issue.

The VM Error Level registry value represents a configuration opportunity that allows an administrator to override the default 16 MB level warning and set an alternate value.

Important

This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore the registry if a problem occurs. For information about how to restore the registry, view the "Restore the Registry" Help topic in Regedit.exe or Regedt32.exe.

To revert to the default configuration

  1. Open a registry editor, such as Regedit.exe or Regedt32.exe.

  2. Navigate to:

    HKLM\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem

  3. In the right pane, delete the value for VM Error Level.

  4. Close the registry editor and restart the Microsoft Exchange Information Store service for the change to take effect.

For more information about troubleshooting virtual memory fragmentation in Exchange Server 2003 and Exchange 2000 Server, see the Microsoft Knowledge Base article 325044, "HOW TO: Troubleshoot Virtual Memory Fragmentation in Exchange 2003 and Exchange 2000" (https://go.microsoft.com/fwlink/?LinkId=3052&kbid=325044).