Render process grouping based on a query parameter
Posted: Thu Nov 24, 2016 4:48 am
Hi All,
We are using CEF inside our web authoring tool for Live Preview of the document contents. We create one CEF instance per document. With the multi process model, CEF creates a render process for each document opened. So when the user opens a good number of documents, then the memory consumption is going up with every new Render process. We would like to have a less number of Render processes.
There is a command line flag in Chromium to group processes based on site. But this will not be useful for us as all the documents we preview are local files (file://). Hence we are looking at some other method for grouping processes. One method we tried is to use a query parameter (eg: file://path?group=true) to convey that this CEF instance should be included in the process group. We have made an experimental Chromium/Blink patch also to make this work. How useful will this be for others?
/- Aneesh
We are using CEF inside our web authoring tool for Live Preview of the document contents. We create one CEF instance per document. With the multi process model, CEF creates a render process for each document opened. So when the user opens a good number of documents, then the memory consumption is going up with every new Render process. We would like to have a less number of Render processes.
There is a command line flag in Chromium to group processes based on site. But this will not be useful for us as all the documents we preview are local files (file://). Hence we are looking at some other method for grouping processes. One method we tried is to use a query parameter (eg: file://path?group=true) to convey that this CEF instance should be included in the process group. We have made an experimental Chromium/Blink patch also to make this work. How useful will this be for others?
/- Aneesh