aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-28 18:45:50 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:19 -0800
commitb5fbdf8a71688fe65f260e99caa1308146db549a (patch)
treefb3f2d0691256e4f177dffc9cfa4ac1415dd8443 /src/settings.js
parentedfa19745e86763db4574ccb9fc73f5ecfaadecb (diff)
default heap to 16MB, and make sure asm.js heaps are power-of-two
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 1d115001..b9dfa9e9 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -43,7 +43,7 @@ var TOTAL_STACK = 5*1024*1024; // The total stack size. There is no way to enlar
// value must be large enough for the program's requirements. If
// assertions are on, we will assert on not exceeding this, otherwise,
// it will fail silently.
-var TOTAL_MEMORY = 10*1024*1024; // The total amount of memory to use. Using more memory than this will
+var TOTAL_MEMORY = 16777216; // The total amount of memory to use. Using more memory than this will
// cause us to expand the heap, which can be costly with typed arrays:
// we need to copy the old heap into a new one in that case.
var FAST_MEMORY = 2*1024*1024; // The amount of memory to initialize to 0. This ensures it will be