Skip to content

linux-sysctl-defaults: Increase vm.max_map_count to 1048576

The kernel default value of vm.max_map_count is 65530, which ensures that ELF core dumps can use the original 16-bit section numbering. However, some Windows games use far more mappings than this, and some memory allocators might do so as well.

Since 2010 both the kernel and gdb support extended section numbering which removes the 16-bit limit. So it seems quite safe to increase vm.max_map_count beyond this value now.

Increase it to 1048576 (= 2^20), matching the value now used in several other distributions:

Closes: #1076510

Merge request reports

Loading