This results in a possible memory leak:
$v8 = new V8Js();
for($i=0; $i<10000000; ++$i) {
$v8->executeString('1;', 'script.js', V8Js::FLAG_FORCE_ARRAY, 1000, 10000000);
}
PHP Fatal error: Uncaught exception 'V8JsMemoryLimitException' with message 'Script memory limit of 10000000 bytes exceeded'
Tested with PHP5 and the master-branch