Well, *this* certainly made a difference!
I tried this test:
*message size:* 200000 bytes
*client-pairs:* 10
*sender pause between messages:* 10 msec
*messages per sender:* 10,000
* credit window:* 1000
*Results:*
router buffer size
512 bytes 4K bytes
-----------------------------------
CPU 517% 102%
Mem 711 MB 59 MB
Latency 26.9 *seconds* 2.486 *msec*
So with the large messages and our normal buffer size of 1/2 K, the router
just got overwhelmed. What I recorded was average memory usage, but looking
at the time sequence I see that its memory kept increasing steadily until
the end of the test.
Messages just sat there waiting to get processed, which is maybe why their
average latency was *10,000 times longer* than when I used the large
buffers.
And Nothing Bad Happened in the 4K buffer test. No crash, all messages
delivered, normal shutdown.
Now I will try a long-duration test to see if it survives that while using
the large buffers.
If it does survive OK, we need to see what happens with large buffers as
message size varies from small to large.