[ 
http://issues.apache.org/jira/browse/DIRMINA-206?page=comments#action_12417849 
] 

peter royal commented on DIRMINA-206:
-------------------------------------

summarizing list thread:

 * configure size of read buffer and automatically disable reads once the 
buffer is full
 * buffer would be a filter that is inserted *before* the ThreadPoolFilter
 * this eliminates the complexities of tracking things in greater detail and 
all the goop from the thread pool
 * writes still tbd, one thought is to block the write, but that has 
implications if no thread pool filter is in use

> 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
>         Type: Improvement

>     Reporter: Trustin Lee
>      Fix For: 0.9.5

>
> 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

Reply via email to