Skip to content

Commit

Permalink
ubldr: Bump heap size, 1MB -> 2MB
Browse files Browse the repository at this point in the history
1MB was leaving very little margin in some of the worse-case scenarios with
lualoader. 2MB is still low enough that we shouldn't have any problems with
UBoot-supported boards.

MFC after: 1 week
  • Loading branch information
kevans91 committed Aug 1, 2018
1 parent 48729f7 commit bba8f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stand/uboot/common/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$");
#endif

#ifndef HEAP_SIZE
#define HEAP_SIZE (1 * 1024 * 1024)
#define HEAP_SIZE (2 * 1024 * 1024)
#endif

struct uboot_devdesc currdev;
Expand Down

0 comments on commit bba8f1f

Please sign in to comment.