Cefclient/cefsimple leave zombie processes

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Cefclient/cefsimple leave zombie processes

Postby Tom741 » Sat Aug 29, 2020 4:34 pm

Hello,
I created an App that is based on CefClient code. As it's an App that launch/close a lot, I started to notice that my PC memory was always growing.
After downloading Rammap, I saw that there were still some processes left behind, probably zombie processes (no cefclient.exe visible in the task manager). They are visible with a very low memory occupation (around 40kb). It doesn't seem to be a lot, but on a low spec vm (3gb of memory), it's noticeable after 24/36h of usage. I didn't find a way to clear them except restarting the machine.

To make sure it was not the code I modified, I downloaded the latest cefclient build (cef_binary_85.2.11+g0202816+chromium-85.0.4183.83_windows64_client) and the problem is noticeable without any modification.

For curiosity, I also tried with cefsimple, same result :/.

System: Windows 10 1909

Is there anyone that could help? Should I fill a bug somewhere?

https://i.imgur.com/KSIK5wL.png

Thanks,
Tom741
Techie
 
Posts: 31
Joined: Tue Aug 19, 2014 9:16 am

Re: Cefclient/cefsimple leave zombie processes

Postby vlbg21 » Sun Aug 30, 2020 5:17 pm

Mine was being held by Program Compatibility Assistant Service.
Run this to find the PID of svchost that holds on to process.
https://github.com/randomascii/blogstuf ... s/prebuilt

You can't do much about it if it's the standard window services.
vlbg21
Newbie
 
Posts: 4
Joined: Sun Aug 30, 2020 4:22 pm

Re: Cefclient/cefsimple leave zombie processes

Postby Tom741 » Mon Aug 31, 2020 2:58 pm

Hello :),
I dug the issue and came with the exact same conclusion. The App you suggested showed it was 'PcaSvc' that keep the reference to the process. Restarting the Service clears the zombie processes.

Bad, bad windows :).

Thanks for your confirmation.
Tom741
Techie
 
Posts: 31
Joined: Tue Aug 19, 2014 9:16 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 51 guests