### What changes were proposed in this pull request? Catch throwable and release unused buffers. ### Why are the changes needed? When the BufferAllocator tries to allocate a new ByteBuf, it may throw an OutOfDirectMemoryError. We should catch Throwable in ReadBufferDispatcher to avoid the thread from exiting. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Pass GA Closes #2452 from RexXiong/CELEBORN-1379. Lead-authored-by: lvshuang.xjs <lvshuang.xjs@taobao.com> Co-authored-by: Shuang <lvshuang.xjs@alibaba-inc.com> Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||