Rank: Newbie Groups: Member
Joined: 12/1/2015 Posts: 1
|
Hi
I have a WPF application with several browsers (currently not EO) For each browser, I need to count how many bytes it uses and if it exceeds a certain amount (the amount changes for each browser), stop the page.
Is this something I can do with EO?
Thank you
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
No. You will not be able to do that. EO.WebBrowser has a multi-process architecture (inherited from Chrome) that uses different processes for different pages/purposes, and some of these processes are shared by multiple pages. For example, it uses a single GPU process to handle all GPU related operations. So it is impossible to have an accurate account on how much resource each page uses.
Each page does have its own rendering process and that process consumes the majority of the resource related to the page (this is the process that houses JavaScript code). It is possible for us to provide you the process ID of that process so that you can implement your own monitoring mechanism based on that (we need to make some minor change on our code to provide you this. We do have this information internally but it is not exposed). Once you find out the process has exceeded certain threshold you can just kill it. It is safe for you to kill the render process in our architecture.
Thanks!
|