#2 ✓invalid
John Barnette

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

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.

New ticket Create new ticket

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

Pages