When running CefSharp + Cef 75 on a Windows machine with 32G RAM, we were able to provide a lot of memory to Cef by using --js-flags : --max_old_space_size=32000.
This allowed us to load a very large page in memory and manipulate it.
Now we are trying to upgrade to CefSharp + Cef 88, and the same page cannot fully load, but the browser process crashes.
Invoking
- Code: Select all
window.performance.memory.jsHeapSizeLimit
Invoking the same code on Cef 88 reports a value of just 4G.
How can we provide more memory to the Cef engine, when enough memory is available? Our tests indicate that the memory limits were roughly the same on a 32G and on a 16G machine.
We tried other flags like --max_semi_space_size, but while that increased the reported jsHeapSizeLimit value, the browser still crashed on the large page.
Regards,
Jogy