saleson opened a new issue, #10827:
URL: https://github.com/apache/dubbo/issues/10827

   原issue: https://github.com/apache/dubbo/issues/7271
   
   
   ### Environment
   
   * Dubbo version: 3.0.11
   * Java version: 11
   
   ### Steps to reproduce this issue
   
   1、使用dubbo protocol
   2、provider侧返回大对象(20M)
   3、循环调用150次左右,出现OOM
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   
原因是由于AsyncRpcResult.whenCompleteWithContext()方法中将responseFuturema赋值给FutureContext.future,而FutureContext使用InternalThreadLocal放在ThreadLocal中,没有被及时释放,
 导致其中引入的Result和Invocation对象无法被GC回收,出现OOM。
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to