title: Virtual memory size increasing in a program C++
body: <p>I have a program which is working perfectly fine. But it works fine for 5-6 days after that it gets killed <code>SIGKILL</code>. When I observed that memory was the issue, I did strict deallocation wherever allocation is done. </p>
  
  <p>I am using linux <code>top</code> command for monitoring the memory usage.</p>
  
  <p>As of now the program is working fine. But, slowly the <code>VIRT</code> virtual memory attribute in <code>top</code> command is increasing slowly. Why is that so? I am deallocating stuff everywhere it is needed.</p>
  
  <p>Thanks in advance. :)</p>