mem: Avoid clearing new buffers and clear buffers from simpleBufferPools#8670
mem: Avoid clearing new buffers and clear buffers from simpleBufferPools#8670arjan-bal merged 2 commits intogrpc:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8670 +/- ##
==========================================
+ Coverage 81.97% 83.05% +1.08%
==========================================
Files 417 417
Lines 40788 32296 -8492
==========================================
- Hits 33435 26823 -6612
+ Misses 5991 4093 -1898
- Partials 1362 1380 +18
🚀 New features to boost your workflow:
|
|
@arjan-bal is this any way related to #8500 - Would it by any chance help to fix this? |
Hi @ramaraochavali, there isn't a bug in the buffer pool. The Go garbage collector (GC) can reclaim memory held by the pool. To specify a memory limit for the GC, you would need to set the That said, this change isn't intended to reduce the memory usage of the buffer pool. However, #8705, which isn't part of a tagged release yet, is expected to improve buffer reuse and reduce memory usage. |
|
@arjan-bal Thank you. We do set GOMEMLIMIT (to limit of container set) in Istio but still seeing memory growth with this. May be we need to reduce that a bit? Thank you for sharing the other fix #8705 |
RELEASE NOTES: