On Mon, 2023-04-03 at 11:07 +0200, Damjan Georgievski wrote: > I'm surprised you could've ever compiled a kernel with only 4GB Ram > > People are talking here about optimisations so it can compile on 32GB machines: > https://www.phoronix.com/news/Linux-6.3-objtool In this case, while my first guess related to tmpfs is irrelevant, using "make localmodconfig" might help. Disabling tmpfs completely might gain something, keeping a shared RAM framebuffer as small as possible might help.