You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by he...@apache.org on 2023/10/23 15:30:16 UTC
[shenyu] branch master updated: [fix:netty] To avoid memory leaks, set the netty allocator to unpooled (#5244)
This is an automated email from the ASF dual-hosted git repository.
hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new 92097e2def [fix:netty] To avoid memory leaks, set the netty allocator to unpooled (#5244)
92097e2def is described below
commit 92097e2def94c2946160f9f94b709ea10a91501c
Author: lahmxu <la...@gmail.com>
AuthorDate: Mon Oct 23 23:30:09 2023 +0800
[fix:netty] To avoid memory leaks, set the netty allocator to unpooled (#5244)
Co-authored-by: xiaoyu <xi...@apache.org>
---
shenyu-bootstrap/src/main/resources/application.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shenyu-bootstrap/src/main/resources/application.yml b/shenyu-bootstrap/src/main/resources/application.yml
index 51926cc270..d5cb50f9ac 100644
--- a/shenyu-bootstrap/src/main/resources/application.yml
+++ b/shenyu-bootstrap/src/main/resources/application.yml
@@ -118,7 +118,7 @@ shenyu:
writeBufferLowWaterMark: 32768
writeSpinCount: 16
autoRead: false
- allocType: "pooled"
+ allocType: "unpooled"
messageSizeEstimator: 8
singleEventExecutorPerGroup: true
socketChannel:
@@ -135,7 +135,7 @@ shenyu:
writeBufferLowWaterMark: 32768
writeSpinCount: 16
autoRead: false
- allocType: "pooled"
+ allocType: "unpooled"
messageSizeEstimator: 8
singleEventExecutorPerGroup: true
sni: