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

New Post: Instantiating V8Runtime with V8RuntimeConstraints crashes

0
0
Hello!

I recently updated from ClearScript 5.4.0 to 5.4.1 and started receiving an AccessViolationException every time I create a v8Runtime instance witih V8RuntimeConstraints defined as follows:
 V8RuntimeConstraints v8RuntimeConstraints = new V8RuntimeConstraints
 {
        MaxExecutableSize = 24 * 1024 * 1024,
        MaxOldSpaceSize = 24 * 1024 * 1024,
        MaxNewSpaceSize = 24 * 1024 * 1024
 };

V8Runtime v8Runtime = new V8Runtime(v8RuntimeConstraints);
The exception did not come before the update. Do any of you know what could be wrong?

Viewing all articles
Browse latest Browse all 2297