How to fix Android studio turns off, freezes?

Deprecation of /etc/sysctl.conf

2013-09-17 - Gaetan Bisson

From version 207 on, systemd will not apply the settings from /etc/sysctl.conf anymore: it will only apply those from /etc/sysctl.d/*. Since the settings of our /etc/sysctl.conf shipped by procps-ng have become kernel defaults anyway, we have decided to deprecate this file.

On my system in /etc/sysctl.d/
I have a file called 99-sysctl.conf with the following added:

# Decrease swap usage to a more reasonable level
vm.swappiness=10
1 Like