title: java.lang.OutOfMemoryError: Java heap space on startup
body: <p>A few days ago I began encountering a <code>java.lang.OutOfMemoryError: Java heap space</code> exception on startup of MATLAB - before I run any piece of code or add anything to the path. The default directory MATLAB loads also has no files on it.</p>
  
  <p>I am running MATLAB R2012a on Windows 7 64 bit.</p>
  
  <p>What could be causing this?</p>