FIX: Memory Exception Receiving Messages from AS400 (235932)
The information in this article applies to:
This article was previously published under Q235932 SYMPTOMS
Microsoft Message Queue (MSMQ) messages sent from AS400 result in event log errors indicating memory exception.
CAUSE
The bridge attempts to receive messages starting with a zero length buffer. This should result in a error that is handled by the bridge and returns the size of the required buffer. The bridge should then allocate an appropriate size buffer and receives the message. However, the AS400 is not sending a valid length when you first perform do MQGET with a zero length buffer. Instead it is returning an extremely large value that is greater than the size of available memory. This only happens when first receiving messages from the queue after initialization and when the size of the received message is less than 112 bytes.
RESOLUTION
The bridge code was changed to use a minimum of 1024 bytes when calling MQGET.
STATUS
Microsoft has confirmed this to be a problem in SNA Server version 4.0. This problem has been corrected in the
latest U.S. service pack for SNA Server version 4.0. For information on obtaining the service pack, query on the
following word in the Microsoft Knowledge Base (without the spaces): Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Fixed in SNA Server Version 4.0 SP3
Modification Type: | Minor | Last Reviewed: | 3/26/2004 |
---|
Keywords: | kbBug kbfix kbMSMQ100fix KB235932 |
---|
|