JavaScript Heap Size Limit

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: JavaScript Heap Size Limit

Postby amaitland » Tue Apr 06, 2021 2:45 pm

The v8 users group is likely a better place to ask.
Maintainer of the CefSharp project.
Posts: 956
Joined: Wed Jan 14, 2015 2:35 am

Re: JavaScript Heap Size Limit

Postby jogy » Wed Apr 07, 2021 9:04 am

After further research, it definitely turned out to be a limitation of the V8 pointer compression.

I was able to rebuild Cef 90 with the V8 pointer compression turned off (by commenting out the setting of the V8_COMPRESS_POINTERS flag in the file chromium_git\chromium\src\v8\

This way, the browser processes consume much more memory to load the pages, but the hard limit of 4GB JavaScript heap space is gone, and if the machine has 32GB or more RAM, it can load the large and complex pages.
Posts: 7
Joined: Mon Mar 22, 2021 7:19 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 10 guests