Maybe I'm doing something wrong, but if I continuously create and destroy JavaScript VM instances the process memory increases all the time:
runjs() ->
{ok, Js} = js_driver:new(),
js_driver:destroy(Js),
runjs().
Any thoughts? Should I do this in some other way?