Skip to content
Snippets Groups Projects
Commit aa65e1ed authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix: Bump default heap size to 1MB (2MB on 64-bit systems).

parent d007cb89
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment