Re: [PATCH]Uncompressing Linux... Out of memory: fixed by increased HEAP_SIZE

From: Ingo Molnar
Date: Mon Oct 25 2004 - 09:35:29 EST



* Karsten Wiese <annabellesgarden@xxxxxxxx> wrote:

> booting newest 2.6.9 experimental kernels, I frequently encountered
> "Uncompressing Linux... Out of memory --System halted"
> In some mail archive I found the (obvious ;-) solution: Increase HEAP_SIZE.
>
> Here in line 122 of arch/i386/boot/compressed/misc.c this
> #define HEAP_SIZE 0x4000
> instead of
> #define HEAP_SIZE 0x3000
> made 2.6.9-mm1-RT-U10.3 boot again.

ah! Makes sense. Did you have LATENCY_TRACE enabled? That compiles the
kernel with -pg which creates a fatter stackframe.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/