Microsoft KB Archive/271085

{|
 * width="100%"|

XGEN: Exchange 2000 SMTP MaxMessageObjects Value

 * }

Q271085

-

The information in this article applies to:


 * Microsoft Exchange 2000 Server

-

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the &quot;Restoring the Registry&quot; Help topic in Regedit.exe or the &quot;Restoring a Registry Key&quot; Help topic in Regedt32.exe.

SUMMARY
Each e-mail message in the Simple Mail Transfer Protocol (SMTP) queue uses a portion of memory. Therefore, a low memory situation may occur with a very large queue.

The MaxMessageObjects registry value correlates to the number of messages that SMTP can queue up at a given time. If you set the MaxMessageObjects value lower, you reduce the maximum number of messages in the queue, which decreases the maximum memory footprint for SMTP.

After the queue reaches this limit, each SMTP connection that is made to the server returns with an out of memory error. For example, if you reduce the MaxMessageObjects value to 10,000, SMTP refuses inbound mail after the queue reaches 10,000 messages.

MORE INFORMATION
To configure the SMTP MaxMessageObjects value, use the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\Mailmsg

Value Name: MaxMessageObjects

Data Type: REG_DWORD The default value is 100,000 objects.

Additional query words: x2kmrp

Keywords :

Issue type : kbinfo

Technology :