Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
aa65e1ed
Commit
aa65e1ed
authored
Aug 22, 2015
by
Paul Sokolovsky
Browse files
unix: Bump default heap size to 1MB (2MB on 64-bit systems).
parent
d007cb89
Changes
1
Hide whitespace changes
Inline
Side-by-side
unix/main.c
View file @
aa65e1ed
...
...
@@ -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
=
1
28
*
1024
*
(
sizeof
(
mp_uint_t
)
/
4
);
long
heap_size
=
1
024
*
1024
*
(
sizeof
(
mp_uint_t
)
/
4
);
#endif
STATIC
void
stderr_print_strn
(
void
*
env
,
const
char
*
str
,
mp_uint_t
len
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment