Modify /etc/sysctl.conf and add: vm.overcommit_memory=1 Then restart sysctl with: On Linux: sudo sysctl -p /etc/sysctl.conf