Hardcoded Stack and Heap Sizes
Reported by John Barnette | March 19th, 2008 @ 07:50 PM
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
-
John Barnette July 29th, 2009 @ 02:36 PM
- State changed from new to invalid
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 45 Memory This is a duplicate of ticket #2 -- definitely drop any ...
- 48 Segfault on shutdown Program received signal EXC_BAD_ACCESS, Could not access ...