[ http://issues.apache.org/jira/browse/DIRMINA-206?page=comments#action_12434340 ] Trustin Lee commented on DIRMINA-206: -------------------------------------
I think 1 mega bytes are a little bit more than much. Probably we could set it to about the default socket read buffer size in Linux. Perhaps with an extra room like 50%? WDYT? > Prevent OutOfMemoryError when a server or a client is overloaded > ---------------------------------------------------------------- > > Key: DIRMINA-206 > URL: http://issues.apache.org/jira/browse/DIRMINA-206 > Project: Directory MINA > Issue Type: Improvement > Reporter: Trustin Lee > Fix For: 1.0 > > > MINA doesn't throttle read or write traffic even if a client or a server > suffers from bottleneck. It will eventually cause the event buffer become > full can throw an OutOfMemoryError. We need to prevent it. > Here's the related thread in our mailing list: > http://mail-archives.apache.org/mod_mbox/directory-mina-dev/200604.mbox/[EMAIL > PROTECTED] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
