So linux sometimes eats your RAM (but in different way).
There may be a command-line utility that lets you pin an arbitrary running a process too, I haven't looked for it on linux.
So linux sometimes eats your RAM (but in different way).