title: Force Vagrant to use Swap memory
body: <p>I have one of those first alu iMacs with 2+2 GB ram. I use Vagrant to emulate advanced development environments, separated for different jobs.</p>
  
  <p>When I have just one vagrant process running in the background, the computer gets to be slow as hell, because it is always out of memory.</p>
  
  <p>The question is: <strong>can I use vagrant (or any app) to run only on swap memory, so it leaves all the memory for the os and other apps?</strong></p>
  
  <p>If there is any solution, how can I do that?</p>