[Spread-users] max message size

Yuval Lifshitz yuvalif at yahoo.com
Mon Jul 9 12:07:56 EDT 2007

hi all,
I'm using spread 3.17 (yes I know I need to upgrade...) and I want to send a message of size ~500Kb.
I followed a response by John Schultz, and defined:
#define  MAX_PACKET_SIZE                  5888 /* 1472    1472 = 1536-64 (of udp)*/
assuming that: MAX_MESSAGE_BODY_LEN  should be (100 * (5888 - 32) ) = 585600
I'm using the Java interface, and when I try to send a message larger than 100K, I still get the error of "buffer to small".
Do you think I should change the MAX_SCATTER_ELEMENTS instead?



Shape Yahoo! in your own image.  Join our Network Research Panel today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20070709/df96155e/attachment.html 

More information about the Spread-users mailing list