Skip to content
Snippets Groups Projects
Commit e40b24d2 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 7154af93
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
; JavaScript values can be specified here *and* in server-specific sections ; JavaScript values can be specified here *and* in server-specific sections
; JavaScript values specified in server-specific sections will over-ride the global values ; JavaScript values specified in server-specific sections will over-ride the global values
; Maximum allocation of memory per JS run-time: ; Maximum allocation of memory per JS run-time:
JavaScriptMaxBytes = 8M JavaScriptMaxBytes = 160M
; Maximum stack size per JS context: ; Maximum stack size per JS context:
JavaScriptContextStack = 16K JavaScriptContextStack = 16K
; Maximum number of ticks (100ms) before auto-termination of script: ; 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.
Please register or to comment