Out of Memory on Linux

Linux will kill processes using a lot of memory when the amount of free memory on the system is too low. SingleStore is often the target process killed. To check if SingleStore was killed by Linux as a result of the system running out of memory, run:

dmesg | grep -i "out of memory"

If the server has rebooted since SingleStore was killed, you can find the logs from the last boot by running:

cat /var/log/kern.log

Linux can be configured to disable this behavior by changing the setting of vm.overcommit_memory or vm.overcommit_ratio, but this is not recommended. It is safer to configure SingleStore to use less memory by setting maximum_memory to a lower value.

Last modified: April 6, 2023

Was this article helpful?