Skip to content

Commit aa65e1e

Browse files
committed
unix: Bump default heap size to 1MB (2MB on 64-bit systems).
1 parent d007cb8 commit aa65e1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mp_uint_t mp_verbose_flag = 0;
5656
#if MICROPY_ENABLE_GC
5757
// Heap size of GC heap (if enabled)
5858
// Make it larger on a 64 bit machine, because pointers are larger.
59-
long heap_size = 128*1024 * (sizeof(mp_uint_t) / 4);
59+
long heap_size = 1024*1024 * (sizeof(mp_uint_t) / 4);
6060
#endif
6161

6262
STATIC void stderr_print_strn(void *env, const char *str, mp_uint_t len) {

0 commit comments

Comments
 (0)