{"action":"opened","issue":{"number":2,"created_at":"2011-10-18T11:56:21Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"It'd be great to be able to configure the amount of memory that can be used by a script.\r\n\r\nI believe this is currently set using PHP_JSRUNTIME_GC_MEMORY_THRESHOLD. It'd be great to expose this through the context interface in PHP.\r\n\r\nAlso, would it be possible to implement a max execution time on a script? I looked at the Python SpiderMonkey source and it looks possible using callbacks. It's also exposed in a nice way through their API.\r\n\r\nThanks,\r\n\r\nRob","comments":0,"title":"Configure Script Memory Usage (and potentially execution time)","updated_at":"2011-10-18T11:56:21Z","url":"https://api.github.com/repos/christopherobin/php-spidermonkey/issues/2","id":1938689,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"dcad249ecf399b3f3f523a3cc6906bbc","avatar_url":"https://secure.gravatar.com/avatar/dcad249ecf399b3f3f523a3cc6906bbc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/robbiehudson","id":135847,"login":"robbiehudson"},"html_url":"https://github.com/christopherobin/php-spidermonkey/issues/2","labels":[],"state":"open"},"legacy":{"number":2,"action":"opened","issue":1938689}}