From 17094e624da9b8e7d27dee1b3b68db40619bdb25 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Fri, 5 May 2023 20:05:41 +0000 Subject: Increase MEM_LIMIT_* Those are not really relevant now, as no one would not install on a machine with less than 512MB or 1G ram but stage2 currently takes 120MB while we allow downloading it over HTTP if the machine has at least 68MB. --- mdk-stage1/config-stage1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h index 4d27a58c9..feb621494 100644 --- a/mdk-stage1/config-stage1.h +++ b/mdk-stage1/config-stage1.h @@ -22,9 +22,9 @@ /* If we have more than that amount of memory (in Mbytes), we assume we can load the second stage as a ramdisk */ -#define MEM_LIMIT_DRAKX 68 +#define MEM_LIMIT_DRAKX 192 /* If we have more than that amount of memory (in Mbytes), we preload the second stage as a ramdisk */ -#define MEM_LIMIT_DRAKX_PRELOAD 100 +#define MEM_LIMIT_DRAKX_PRELOAD 256 /* If we have more than that amount of memory (in Mbytes), we assume we can load the rescue as a ramdisk */ #define MEM_LIMIT_RESCUE 40 -- cgit v1.2.1