The issue with OOM is that you can't guarantee that you can get the process into a safe/sane state again. That's why it has to be killed (and why I'd strongly recommend against hacking up your own solution that tries to avoid the killing -- it's just not secure in the general case).
For your messaging needs, you can register a FatalErrorCallback to get a message right before the process is killed. On Fri, Mar 6, 2015 at 12:04 PM, madana gopal <madanagopal...@gmail.com> wrote: > Sorry, one more question. Let's say due to some reasons memory is not > available for script1. If we terminate V8 execution of script and initiate > some other script say script2 (by other image link let's say), whether the > old heap memory used for script1 can be used back. I don't know whether it > is possible and that is the reason we have process restart. Please clear it. > > Regards, > Madan > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > 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 v8-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com 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 v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.