So I have 4 GB RAM + 4GB swap. I want to create a user with limited ram and swap: 3 GB RAM and 1 GB swap. Is such thing possible? Is it possible to start applications with limited RAM and swap avaliable to them without creating a separate user (and not installing any special apps - having just a default Debian/CentOS server configuration, and not using sudo)? Update: So I opened terminall and type
![How to create a user with limited RAM usage?](https://cdn-ak-scissors.b.st-hatena.com/image/square/b464c2cda694ab68f456c208dff3f30700a47c13/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Funix%2FImg%2Fapple-touch-icon%402.png%3Fv%3D32fb07f7ce26)