# 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:

```shell
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:

```shell
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.

***

Modified at: April 6, 2023

Source: [/db/v9.1/user-and-cluster-administration/maintain-your-cluster/managing-memory/out-of-memory-on-linux/](https://docs.singlestore.com/db/v9.1/user-and-cluster-administration/maintain-your-cluster/managing-memory/out-of-memory-on-linux/)

(An index of the documentation is available at /llms.txt)
