bootstrap2025 opened a new issue #9335:
URL: https://github.com/apache/dubbo/issues/9335


   
![screenshot-20211130-210614](https://user-images.githubusercontent.com/9637974/144052824-4d22c91b-d4c1-40f4-8bed-b4c596dba25d.png)
   我这边发现一次内存泄漏引起的oom,然后我把dump 文件打出来看了下,dubbo 的200个线程里每个线程都存了 
150k(打码部分)的数据,怀疑是因为这个导致引起的内存泄漏,然后这个数据是我们程序请求接口加载的大文本数据,数据是正常的,但是有些奇怪的是,不同接口的返回数据出现在一个threadLocal
 里,导致threadLocal 值很大,于是我想问几个问题:
   1. 为什么线程threadLocal里会有这么多不同接口的数据? 这边线程不会remove掉数据吗?
   2. 我本地接口里没有调用threadLocal ,想咨询下什么情况下会把数据缓存到threadLocal里?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to