Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

0
0
Hi Praveen,

It's difficult to diagnose your issue without more information, but if the crash happens during V8ScriptEngine construction, then it's nearly certain that you're running out of address space by creating too many active instances.

One of our pre-release tests is to run the SunSpider suite thousands of times within a single process, each in a separate V8ScriptEngine instance. As long as you dispose each instance when you're done with it, and you don't try to use a large number of instances concurrently, you should be OK.

If that's not how your application is crashing, we'll be happy to look at a stack trace or try to reproduce the crash if you can share some more of your code or a minimal crashing sample.

Cheers!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images