You need to set reservations for the LEM's memory and CPU, or this issue will continue to occur. Reservations should be set equal to the currently assigned resources, in your case the 8GB of memory and 2660 CPU.
You may also want to enable the Template rules "Appliance Database Down" and "Solarwinds Disk Full" which would watch the LEM's own health and send an alert when stuff goes wrong.