Welcome Guest Search | Active Topics | Sign In | Register

Count browser usage Options
Itamar
Posted: Tuesday, December 1, 2015 10:55:35 AM
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
eo_support
Posted: Tuesday, December 1, 2015 1:24:53 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.