Discussion:
MSMQ message size issue
(too old to reply)
a***@gmail.com
2007-11-14 15:09:45 UTC
Permalink
Hi,
I have a message that is 4mb in size (checked in the queue
properties) and the maxmessagesize for MSMQ in the registry is set to
9mb. Yet, I am unable to send the message. The message does'nt reach
the queue and the error message logged says 'Insufficient resources to
perform the operation'.

When I increased the maxmessagesize to 15mb, the message went through
without any issues.

I was wondering why do I need to set the maxmessagesize to 15mb for a
4mb message to go through.

thanks,
Arun
John Breakwell (MSFT)
2007-11-14 15:50:38 UTC
Permalink
First I should mention that Microsoft does not recommend modifying
maxmessagesize.

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/58679.mspx?mfr=true
"Do not change the value of this entry. Increasing this value might prevent
you from sending messages larger than 4 MB.
Decreasing this value might block transports between Message Queuing
computers."

What you are seeing may be a result of sending messages over 4Mb in size -
this could be what MSMQ needs to allocate for memory structures for messages
if you increase maxmessagesize.
I can try asking the product group but they may not provide information for
this unsupported change.

Cheers
John Breakwell (Microsoft)
Post by a***@gmail.com
Hi,
I have a message that is 4mb in size (checked in the queue
properties) and the maxmessagesize for MSMQ in the registry is set to
9mb. Yet, I am unable to send the message. The message does'nt reach
the queue and the error message logged says 'Insufficient resources to
perform the operation'.
When I increased the maxmessagesize to 15mb, the message went through
without any issues.
I was wondering why do I need to set the maxmessagesize to 15mb for a
4mb message to go through.
thanks,
Arun
Loading...