...
 
Commits (1)
  • Rob Swindell's avatar
    Increase JavaScriptMaxBytes from 8M to 160M · e40b24d2
    Rob Swindell authored
    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".
    e40b24d2
......@@ -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:
......