Member
140
Points
|
Replied on
14 May 2014 05:20 AM IST
It seems you're configuring maxBufferSize with a buffered transfer mode. If the value of this attribute is small, large messages will be dropped. If you increase the value of this attribute, while you will be able to accept large messages, obviously more server memory will be consumed, and if you run out of memory, there's nothing you can do other than increase the physical memory.
For large messages, it is recommended to use streamed transfer mode (set transferMode="Streamed" on the binding). This allows the server to start processing the message while the client is still transfering it, rather than wait for the whole message to be transferred, put the whole message in memory, and then process it.
|