Skip to content
Snippets Groups Projects
Commit 27269ebe authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Increase JavaScriptMaxBytes from 8M to 160M

160M is the value used by the Mozilla/SpiderMonkey JSShell project, so I'm
rationalizing that as an acceptable default. Of course, it would be good
to optimize memory usage in JS scripts, so we'll work on that too. So, if
you're a JS developer, best to play with lower values here to see if/where
you're being potentially wasteful in your memory usage, but most sysops
just want everything "to work".
parent ab198868
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@
; JavaScript values can be specified here *and* in server-specific sections
; JavaScript values specified in server-specific sections will over-ride the global values
; Maximum allocation of memory per JS run-time:
JavaScriptMaxBytes = 8M
JavaScriptMaxBytes = 160M
; Maximum stack size per JS context:
JavaScriptContextStack = 16K
; Maximum number of ticks (100ms) before auto-termination of script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment