title: Can I tell Linux not to swap out a particular processes' memory?
body: <p>Is there a way to tell Linux that it shouldn't swap out a particular processes' memory to disk?</p>
  
  <p>Its a Java app, so ideally I'm hoping for a way to do this from the command line.</p>
  
  <p>I'm aware that you can set the global swappiness to 0, but is this wise?</p>