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

New Post: Increasing memory during V8 usage

0
0
Hi again,

i can't check every script, that is executed by the users

If you're executing unknown or untrusted scripts, please note that a buggy or malicious script can easily corrupt the environment for subsequent scripts; e.g., by leaving data hanging off the root object, by altering built-in behavior with unexpected extensions, etc. If possible, consider creating a clean context for each script by re-instantiating V8ScriptEngine. If that's too expensive, you might be able to reuse one or more V8 runtimes (see V8Runtime.CreateScriptEngine()).

Cheers!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images