Paged Pool Memory Leak using _popen() in timer for every 30 secs C++ application Windows

  • Thread starter Thread starter shameershaik1
  • Start date Start date
S

shameershaik1

Guest
Below code snippet causing Paged Pool Memory leak.While(true){std::shared_ptr<FILE> pipe(_popen(cmd, "r"), _pclose);Sleep(30000); // 30 secs}I noticed the Paged pool increase in Task Manager and also using xPerf tool.details of the functionMy Application is NTP Client.cmd = NTP status check either SYNC or not with NTP Server

Continue reading...
 

Similar threads

Back
Top