XADM: Insufficient Memory when CDO/MAPI Application Accesses a Message on Exchange Server

ID: Q241278


The information in this article applies to:
  • Microsoft Exchange Server, version 5.5


SYMPTOMS

A Messaging Application Programming Interface (MAPI) or Collaboration Data Objects (CDO) application may return an error of MAPI_E_NOT_ENOUGH_MEMORY (which is defined as E_OUTOFMEMORY = 0x8007000E) when attempting to perform MAPI or CDO operations against a particular message.

The user may see an error message similar to the following:

There is not enough memory available to perform the operation. [Microsoft Exchange Server Information Store - [E_OUTOFMEMORY(8007000E)]]


CAUSE

The Exchange Server information store can return a remote procedure call (RPC) response to the client's RPC request indicating that the buffer size required for the RPC data is greater than the maximum allowable buffer size (32 KB). The client handles this request to set up an "illegal" buffer size as a memory error.


RESOLUTION

A supported fix that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem. If you are not severely affected by this specific problem, Microsoft recommends that you wait for the next Exchange Server 5.5 service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://www.microsoft.com/support/supportnet/overview/overview.asp
The English version of this fix should have the following file attributes or later:

Component: Information Store

File name Version
Store.exe 5.5.2651.25

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:
x86: Q248838engi.exe
Alpha: Q248838enga.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.


STATUS

Microsoft has confirmed this to be a problem in Microsoft Exchange Server version 5.5.


MORE INFORMATION

Under certain boundary conditions, the Exchange Server information store can return an RPC response to the client's RPC request, which informs the client that the buffer the client had originally set up for the request is of insufficient size. The server's RPC response indicates this with the "ropBufferTooSmall" string; it also indicates how large the buffer needs to be. This, in itself, is not a problem for the client, as the client typically sets up an appropriately-sized buffer for the response and makes the request again. This typically succeeds.

The problem occurs when the information store fails to properly account for all buffer overhead when it calculates the actual buffer size that is required. Thus, the information store indicates in the response that the buffer required is larger that the maximum RPC buffer size allowed. When this is the case, MAPI or CDO applications can report "insufficient memory" type of errors.

Additional query words:

Keywords : exc55
Version : winnt:5.5
Platform : winnt
Issue type : kbbug


Last Reviewed: January 27, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.