Skip to content

Commit 00ff3da

Browse files
hycdongwutao1
authored andcommitted
feat: update config for tcmalloc release memory optimization (#433)
1 parent 35cbda4 commit 00ff3da

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/server/config.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@
239239
;; WARNING: memory release may incur major performance downgrade when inproperly configured.
240240
;; ensure this feature is only enabled when it's necessary.
241241
mem_release_enabled = false
242-
mem_release_interval_ms = 86400000
242+
mem_release_check_interval_ms = 3600000
243+
mem_release_max_reserved_mem_percentage = 10
243244

244245
lb_interval_ms = 10000
245246

0 commit comments

Comments
 (0)