• Paged Pool Memory leak C++ Windows

    From shameeulla shariff@21:1/5 to All on Thu Apr 7 23:31:44 2022
    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 function

    My Application is NTP Client.

    cmd = NTP status check either SYNC or not with NTP Server

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)