title: How to clear virtual memory without closing matlab?
body: <p>I am working on activity recognition but am getting an <code>out of memory error</code> after processing one video.</p>
  
  <p>The maximum possible array turns from 444mb to 84mb, which means it can't process more than one video. Using <code>clear all;</code> and <code>close all;</code> we can just clear the matlab memory, but how do we clear the virtual memory (ram) space without closing matlab?</p>
  
  <p>Any help would be much appreciated.</p>