feifeiiong opened a new issue #1027: ObjectPool机制与bthread 内存相关问题 URL: https://github.com/apache/incubator-brpc/issues/1027 **Describe the bug (描述bug)** 日前在做压测时发现,在高并发的情况下,大量bthread被创建,bthread_stack_count迅速增长,在压测结束后,bthread_stack_count 未释放,同样内存也未释放。查看代码发现与ObjectPool机制可能有关。想知道这一块的内存释放的时机是如何确定的?是否ObjectPool申请的内存不会释放? **To Reproduce (复现方法)** 高并发情况下的压测,必现。 **Expected behavior (期望行为)** 内存释放的机制。 **Versions (各种版本)** OS: Compiler: brpc: protobuf: **Additional context/screenshots (更多上下文/截图)**
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
