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

New Post: Memory consumption

$
0
0
Greetings, Joachim!

We run several tests before every release to check for memory leaks. For example, we run the SunSpider JavaScript benchmark in a loop for several hours. That test exposes some host objects and collects results, so it would seem to be a little more comprehensive than your current usage, yet we haven't encountered any runaway memory consumption.

Please give us more information about your application. For example, what ClearScript version are you using? What are you passing to the V8Runtime constructor and V8Runtime.CreateScriptEngine()? You mentioned that your script code currently does nothing, but what exactly does it look like? How many runtimes and engines are active at once?

If you could distill your application to a small code sample that exhibits the problem, that would be very helpful.

Thank you!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>