title: Why my program does not take more than 2 GB RAM on 64 GB RAM System?
body: <p>I am trying to train a <a href="http://dlib.net/train_shape_predictor_ex.cpp.html" rel="nofollow">Dlib's train_shape_predictor_ex.cpp</a> with <a href="http://www.ifp.illinois.edu/~vuongle2/helen/" rel="nofollow">Halen</a> dataset. I compiled the code with Visual Studio in <code>release mode</code> for <code>64-bit plateform</code> as <code>console application</code>. </p>
  
  <p>When I run <code>the train_shape_predictor_ex.exe</code> in command prompt, the executed process started and I saw in <code>Task Manager</code> that memory consumption by this process was increasing but it was stopped till around <strong>1.9 GB</strong>  and gave a Run-time Exception: <strong>bad allocation</strong>. It is unable to take more RAM than around around 1.9 GB RAM even My system is <strong>64 GB RAM</strong> </p>
  
  <p>Can anybody help me getting solve this problem?
  Thanks in advance !  </p>