I run NoMachine on an OpenVZ based linux container image, and login from a Mac client. I have managed to crash the session and lose all work in the right circumstances:
1) Login from client
2) Start Launching enough processes to use a majority of memory available (both physical and swap)
3) Disconnect session
4) Login via ssh, and continue to start processes that use available memory, leaving just a little RAM available on the system, say 50MB
5) Try to reconnect to previous session with the NoMachine. A client connect appears to need a few hundred megabytes of server side RAM to operate and if there isn’t enough the entire server side session crashes
System info:
ser@cache:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.7 (jessie) Release: 8.7
Codename: jessie
user@cache:~$ dpkg -l | grep nomach
ii nomachine 5.2.11-1 amd64 Fast and secure remote access system
ii nomachine-plugin 5.2.11-1 all NoMachine Web Companion