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

New Post: Does ClearScript have memory leak?

$
0
0
Hello JerryBian!

Are you using V8? That script engine heavily favors performance over memory efficiency, and is particularly lazy when it comes to garbage collection. If you use a single long-lived V8ScriptEngine instance to run many scripts, you should call ScriptEngine.CollectGarbage() periodically.

We also recommend that you build ClearScript from the latest source code, as several memory leaks have been fixed since the most recent point release.

Good luck!

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images