简体   繁体   中英

CEF / Chromium render process CPU usage

I have used CEF4Delphi to embed CEF / Chromium in my Delphi XE 10.1 application. I am currently at CEF Version 3.2987.1597.gffc5773 (Chromium Version 57.0.2987.110), 32 bit.

I can see the render process in the Windows Task Manager normally staying at 0% CPU usage when customers are not browsing, but then sometimes the render process seems to get stuck and grabs all the CPU it can get (100% of a single CPU, 16% of total since I have 6 available), even when the user is doing nothing and the browser window is not visible. When stuck it seems to remain stuck until I end the process, several hours has been observed. I have turned on verbose logging but nothing gets logged as long as the user is not doing anything. I do get lots of logging at startup and when the user is actively browsing.

Any tips on how to resolve this? I only see this issue on my Terminal Server and have not been able to reproduce the behaviour myself either on dev machines or the TS. Last time I saw this behaviour was about two hours after start up of the application.

Any help appreciated.

Thanks, Sjur

Sorry for the late answer.

Close your app and clear the cache and cookies directories.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM