2 ms·
fallocate -l 4G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile swapon -s Works pretty well. You can't actually run too much on
by merb 11y ago
fallocate -l 4G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
swapon -s
Works pretty well. You can't actually run too much on it however if you use a tomcat you actually get a decent Request per Second something like 100r/s.
And you don't need 1GB VMs. 512 MB Scala Apps are working fine. It just depends on the technology.