title: How to increase MATLAB memory limitation in ubuntu? (how to use mkswap, swapon for MATLAB?)
body: <p>I am currently suffer from 'Out of Memory' problem in MATLAB. (in Ubuntu 12.04 environment)</p>
  
  <p>I increased physical memory of my machine by 16GB(4GB*4) to 32GB(4GB*8), and monitoring memory usage of MATLAB by command 'top', but it increase with same speed, and reach at same maximum point. And then 'Out of Memory' message comes out.</p>
  
  <p>I think there is memory limitation in MATLAB application, but I don't know how to increase it.</p>
  
  <p>Mathworks document saids that I can try <strong>'mkswap'</strong>, and <strong>'swapon'</strong> command. But I don't know how to use it for MATLAB.  (<a href="http://www.mathworks.co.kr/kr/help/matlab/matlab_prog/resolving-out-of-memory-errors.html" rel="nofollow">http://www.mathworks.co.kr/kr/help/matlab/matlab_prog/resolving-out-of-memory-errors.html</a>)</p>
  
  <p>Anyone knows how to use <strong>'mkswap'</strong>, and <strong>'swapon'</strong> ?</p>