4GB memory usage limit for Chrome process (64-bit)

3,374 views
Skip to first unread message

Jing

unread,
Jun 4, 2015, 2:29:31 PM6/4/15
to chromi...@chromium.org
Is there a way to increase the 4GB limit per tab e.g. via a command line switch? I see (from Process Explorer) that each Chrome (64-bit) tab process, also the internal Chrome GPU process, is artificially limited to a max of 4GB RAM usage via Windows Job limits. We are developing a single page web app that uses WebGL, we'd like to be able to use more than 4GB of RAM.

I see in this post https://code.google.com/p/chromium/issues/detail?id=416284#c5 that the 4GB limit is by design, due to security issues, ".. because certain types of attacks rely on being able to allocate > 4Gb of memory...". Can anyone elaborate more on what those types of attacks are, and whether there's any chance that this limitation will be lifted in the future, or temporarily disabled via command line switch, at least for the Chrome internal GPU process. Thanks!

Carlos Pizano

unread,
Jun 4, 2015, 5:41:07 PM6/4/15
to chromi...@chromium.org, sunny...@gmail.com
Also the low level allocator base/allocator has also a hard-coded max single alloc size of  kMaxWindowsAllocation = INT_MAX - kWindowsPageSize

The general issue is that there are places in the code that uses 32 bit ints to represent offsets into memory.
Reply all
Reply to author
Forward
0 new messages