Skip to content

Commit 7c7c72e

Browse files
committed
refactor: add vm.overcommit_memory setting to sysctl configuration for improved memory management
1 parent bda4b4b commit 7c7c72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

patches/sysctl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ body: |
1717
fs.inotify.max_user_watches = 524288
1818
1919
# Memory management tuning
20+
vm.overcommit_memory = 1 # Disable overcommit
2021
vm.swappiness = 1 # Avoid swapping unless necessary
2122
vm.dirty_ratio = 30 # Limit max dirty pages to 30%
2223
vm.dirty_background_ratio = 5 # Background flush starts at 5%

0 commit comments

Comments
 (0)