This project is read-only.

fatal error in v8::context::new


Sometimes when I'm using JavaScriptContext in a loop I get the exception "fatal error in v8::context::new".
What cause of this problem it could be?

file attachments


JimmyRecard wrote Aug 29 at 2:34 AM

Having the same issue and found that it happens when there is a lot of memory consumed by multiple contexts.

Seems like it's a memory leak issue in a library.
If you track working set of operating memory when instantly pass JavaScript code from your application to a context by a loop, you'll see it will never free memory from script strings you pass there.

I suffer same issue too so i think that should be fixed.

Provided a screenshot that shows instantly called script string called by an application by a loop via JavaScriptContext.Run()