SingleStore DB

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 DB is often the target process killed. To check if SingleStore DB 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 DB 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 DB to use less memory by setting maximum_memory to a lower value.