Skip to content

Commit

Permalink
bump up max allocation for V2 (#5447)
Browse files Browse the repository at this point in the history
  • Loading branch information
tballmsft authored Jan 30, 2024
1 parent b97b3ca commit 403c417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/core/pxtcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ void debuglog(const char *format, ...);
#define xmalloc malloc
#define xfree free

#define GC_MAX_ALLOC_SIZE 9000

#define NON_GC_HEAP_RESERVATION 1024

#ifdef CODAL_CONFIG_H
#define MICROBIT_CODAL 1
#define GC_MAX_ALLOC_SIZE 11000
#else
#define MICROBIT_CODAL 0
#define GC_MAX_ALLOC_SIZE 9000
#define GC_BLOCK_SIZE 256
#endif

Expand Down

0 comments on commit 403c417

Please sign in to comment.