Hardcoded Stack and Heap Sizes
Reported by John Barnette | March 19th, 2008 @ 07:50 PM | in 1.0
The JSRuntime heap and JSContext stack sizes are hardcoded in Johnson::Spidermonkey::Context's allocate() method right now. There should be sane defaults, but you should be able to override them in the Johnson::Context constructor. Something like:
ctx = Johnson::Context.new(:heap => 8.megabytes, :stack => 8.kilobytes)
...should work.
Comments and changes to this ticket
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
