"How To Prevent Windows Games from Crashing on Linux - Troubleshooting Guide"
In this video I cover how to change the vm.max_map.count value, a Linux kernel parameter, in order to prevent certain games from crashing whilst using compatibility layers such as Steam Proton.
The vm.max_map.count value is responsible for controlling the maximum number of memory map areas that a process can have.
Or in other words, prevent a single or group of processes from consuming excessive amounts of virtual memory that could lead to performance or system instability.
Step 1. Changing The vm.max_map.count Value.
To change the limit, we need to add a new entry to the systctl.conf file located at located at /etc, which can be done with the following Terminal command.
sudo nano /etc/sysctl.conf
So, with the file open, simply scroll down to the bottom and add the following value.
vm.max_map_count=2147483642
Once done, save the file and reboot the machine.
Step 2. Checking The New vm.max_map.count Value.
To check that the new value has been applied, simply run the following Terminal command.
cat /proc/sys/vm/max_map_count
Which should return 2147483642
All done.
#proton #steam #linux
Social Media Links
Discord - https://discord.gg/3SxGk3WG2D
Reddit - https://www.reddit.com/r/IntelligentGaming2020/