On Sat, Oct 31, 2015 at 11:35 AM, Ivan P. <[email protected]> wrote: > I'm using V8 3.19 in my application. I will need to upgrade soon to some > latest V8 version (at least 4.5). > > In the V8 3.19 there are API calls V8::IgnoreOutOfMemoryException() and > Context::HasOutOfMemoryException() which let me don't invalidate entire > isolate when some context fails with OOM and then detect that context have > caused OOM. But as I can see, in the latest V8 these API calls are removed. > > So my question is: what is the current technique with latest V8 to get the > same effect: don't invalidate entire isolate when some context fails with > OOM and then detect that context have caused OOM?
I remember the discussion about removing those functions. The explanation was that V8 cannot operate reliably under OOM conditions and therefore will no longer try. In other words, there's nothing you can do but exit. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
