From bba8f1fe0eec13f3501b27b04e6180a544e3c6a2 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Wed, 1 Aug 2018 20:08:20 +0000 Subject: [PATCH] ubldr: Bump heap size, 1MB -> 2MB 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 --- stand/uboot/common/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/uboot/common/main.c b/stand/uboot/common/main.c index 114fcaa64222..c7ca501c7a45 100644 --- a/stand/uboot/common/main.c +++ b/stand/uboot/common/main.c @@ -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;