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

New Post: MemoryLeak despite disposing of V8 Script Engines

0
0
It appears that V8 maintains one "optimizing compiler thread" per isolate - an implementation detail beyond ClearScript's control. If your application uses the V8ScriptEngine constructor, it creates one isolate per engine instance.

You mentioned that you're seeing roughly 200 compiler threads. Is it possible that your application at that point is holding that many engine instances? Our normal recommendation is to use roughly as many concurrent engine instances as there are CPU cores in the machine.

Viewing all articles
Browse latest Browse all 2297