Oversubscribing RAM Error

0 replies
MarioStaff
35 posts

The Oversubscribing RAM error can happen if the SWAP is not in place.

From the edgeLinux terminal: https://docs.antsle.com/login/

Lets check if the swap partition exists.

Does the command 'lsblk' show the the swap... one of the drives (sdb or sdd) should contain the swap partition and will look similar to this with "[SWAP}" denoting the swap partition.

sdb      8:16   1 465.8G  0 disk

├─sdb1   8:17   1  16.1G  0 part [SWAP]

└─sdb2   8:18   1 449.6G  0 part

If not, lets create the swap

mkswap /dev/sdb1

swapon /dev/sdb1

And does /etc/fstab have the following line

/dev/sdb1   none    swap    sw    0 0

You can view the file with

cat /etc/fstab

If not, lets add the line to the fstab file

echo "dev/sdb1   none    swap    sw    0 0" >> /etc/fstab

Log in to reply. New here? It takes a minute.