diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-08-22 23:54:25 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-08-22 23:54:25 +0300 |
commit | aa65e1edb3e9c7874bf40f4a7ae23f12f51323a4 (patch) | |
tree | 2895e19be029b54c1c38ab7a758b704088b13144 /unix | |
parent | d007cb890394d9d26c6fafb133532a5175d91eb2 (diff) | |
download | micropython-aa65e1edb3e9c7874bf40f4a7ae23f12f51323a4.tar.gz micropython-aa65e1edb3e9c7874bf40f4a7ae23f12f51323a4.zip |
unix: Bump default heap size to 1MB (2MB on 64-bit systems).
Diffstat (limited to 'unix')
-rw-r--r-- | unix/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index bb5a2b5820..aede75353b 100644 --- a/unix/main.c +++ b/unix/main.c @@ -56,7 +56,7 @@ mp_uint_t mp_verbose_flag = 0; #if MICROPY_ENABLE_GC // Heap size of GC heap (if enabled) // Make it larger on a 64 bit machine, because pointers are larger. -long heap_size = 128*1024 * (sizeof(mp_uint_t) / 4); +long heap_size = 1024*1024 * (sizeof(mp_uint_t) / 4); #endif STATIC void stderr_print_strn(void *env, const char *str, mp_uint_t len) { |