aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-29 13:00:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-29 13:00:32 -0700
commitb30283324ee657a14115b4df6620717b2b32a12c (patch)
treef12415134dd37c6b86599e2e8974ebc939083398 /src
parentc0605af62786e2f733ea67acf218f26eace1c4ba (diff)
adjust memory size in tests
Diffstat (limited to 'src')
-rw-r--r--src/preamble.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 24277014..9ee90728 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -577,7 +577,7 @@ var STATICTOP;
#if USE_TYPED_ARRAYS
function enlargeMemory() {
#if ALLOW_MEMORY_GROWTH == 0
- abort('Cannot enlarge memory arrays. Adjust TOTAL_MEMORY or compile with ALLOW_MEMORY_GROWTH');
+ abort('Cannot enlarge memory arrays. Adjust TOTAL_MEMORY (currently ' + TOTAL_MEMORY + ') or compile with ALLOW_MEMORY_GROWTH');
#else
// TOTAL_MEMORY is the current size of the actual array, and STATICTOP is the new top.
#if ASSERTIONS