Hello,
Chrome has a security feature that causes the process to terminate should malloc fail. This is implemented here for mac:
http://src.chromium.org/svn/trunk/src/b ... ory_mac.mm
and is turned on when EnableTerminationOnOutOfMemory() is called.
There is also an UncheckedMalloc() function for cases where you promise to check the return value for null.
My application needs to be able to attempt a very large memory allocation and handle the case where it could fail. However, due to this security feature of Chrome any attempt at a too-large-malloc will crash instead of returning NULL. Is there any known way to disable this for CEF or to gain access to the UncheckedMalloc() via CEF? Poking around in the code I didn't see any switch to turn this off. I understand for Chrome this is an important feature but in the context of my application security isn't as important.
Thanks for any tips!