From df9ea8853a0bbc59d85e9efba843b3c948ce213b Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Thu, 1 May 2014 07:11:33 +1000 Subject: [PATCH] Increase default JS heap size (from 8MB -> 32 MB) for testing with large pages. --- js.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js.rc b/js.rc index b7da9165e..e058daebc 100644 --- a/js.rc +++ b/js.rc @@ -58,7 +58,7 @@ pub static JSOPTION_VAROBJFIX: uint32_t = 0b00000000000100u32; pub static JSOPTION_METHODJIT: uint32_t = (1 << 14) as u32; pub static JSOPTION_TYPE_INFERENCE: uint32_t = (1 << 18) as u32; -pub static default_heapsize: u32 = 8_u32 * 1024_u32 * 1024_u32; +pub static default_heapsize: u32 = 32_u32 * 1024_u32 * 1024_u32; pub static default_stacksize: uint = 8192u; pub static ERR: JSBool = 0_i32;