title: Commit memory in windows resource monitor, is growing more than (20 times) Working set memory for a process(c++) . Memory Leak?
body: <p>We have an 64-bit application that runs in c++ code in 16gb ram windows virtual machine. After few days of running the application,whole Pagefile.sys memory(32 GB) got filed and leads to crash.In resource monitor</p>
  <ul>
  <li><p>Commit(KB): 22 643 396</p>
  </li>
  <li><p>Working Set (KB): 982 208</p>
  </li>
  </ul>
  <p>If it is memory leak why it doesn't showing growth in Working set memory ? I would also like to know in what situations, only commit memory will grow greater than working set memory? What tools for c++ we can use to identify the root cause for this problem?</p>
  <p>I understand that commit size includes RAM used and Virtual memory. please explain why virtual memory used not able to deallocate even process in idle state?</p>
  <p>Note:-In this application no virtualAlloc() has used only c++ new operator has been used.</p>