Commit memory in windows resource monitor, is growing more than (20 times) Working set memory for a process(c++) . Memory Leak?

601 Views Asked by At

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

  • Commit(KB): 22 643 396

  • Working Set (KB): 982 208

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?

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?

Note:-In this application no virtualAlloc() has used only c++ new operator has been used.

0

There are 0 best solutions below