Skip to content

Commit

Permalink
Raised JS runtime memory from 32 to 256 MB.
Browse files Browse the repository at this point in the history
It should help avoid out of memory crashes when large numbers of OXPs are installed.
  • Loading branch information
AnotherCommander authored Jan 14, 2025
1 parent 5e1c242 commit 3e14af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Scripting/OOJavaScriptEngine.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@


#define OOJS_STACK_SIZE 8192
#define OOJS_RUNTIME_SIZE_MiB 32
#define OOJS_RUNTIME_SIZE_MiB 256


static OOJavaScriptEngine *sSharedEngine = nil;
Expand Down

0 comments on commit 3e14af8

Please sign in to comment.