diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-03 10:41:19 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-03 10:41:19 -0800 |
commit | cf3f77811d616b8b8931e14c66eb96b57ed4f90c (patch) | |
tree | ad81b004ba07e6d519592688be8208c2e63ef10f | |
parent | a5b5727088bcdbe4a8d0c10043ebc95fadfbd0c7 (diff) |
fix memory growth error
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 6cf87753..fa86fca6 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -591,7 +591,7 @@ var STATICTOP; #if USE_TYPED_ARRAYS function enlargeMemory() { #if ALLOW_MEMORY_GROWTH == 0 - abort('Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value ( ' + TOTAL_MEMORY + '), (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.'); + abort('Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.'); #else // TOTAL_MEMORY is the current size of the actual array, and STATICTOP is the new top. #if ASSERTIONS |