Cef Sharp memory usage issue and deallocation problem #4477
Replies: 3 comments 4 replies
-
Does your browsersubprocess.exe close, when you dispose? |
Beta Was this translation helpful? Give feedback.
-
In future please use Discussions to ask questions. Additionally it also looks like you asked this on stackoverflow. Please just ask your question once and wait for a reply.
Chromium by design relies on the OS to free memory on process termination, see Chromium Singelton.
You can run |
Beta Was this translation helpful? Give feedback.
-
У меня кушает память запуск видео через javascript, когда я код запускаю через ajax несколько раз (то есть заменяю предыдущий тег video на новый полученный ajax способом). Данная проблема относится в целом к браузеру. Решил свою проблему тем, что перед заменой html тега video на новый, нужно к старому html тегу video присвоить src='';
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Cef Community,
I am writing to bring to your attention an issue with Cef Sharp that I have been experiencing. Recently, I have noticed that Cef Sharp is consuming a large amount of virtual memory on my system, and it does not deallocate memory even after calling the chromiumWebBrowser dispose and Cef.Shutdown() function.
It seems that Cef Sharp is not properly deallocating memory, leading to memory leaks and potentially causing performance issues.
I have tried various solutions, such as disabling cache,disable-gpu-process and enabling multi-threaded message loop, but none of them have solved the issue.
I can see this issue on Cef_Demo_Application as well by Process.GetCurrentProcess().VirtualMemorySize64.
Always its taking almost 35GB virtual memory.
as of now i am using version 98.1.210.0, i have tried with latest version as well in latest version it is taking more than 70GB virtual memory.
I would like to request the Cef community that if this issue is already known issue then please provide a solution or workaround.
I believe that resolving this issue would not only benefit me but also many other developers who are using Cef Sharp.
Thank you for your attention to this matter.
Best regards,
Arun
Beta Was this translation helpful? Give feedback.
All reactions