Re: Out of Memory problem with kernel 5.16.2 and RT ptach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 2, 2023 at 4:17 PM Michel Macena Oliveira
<michel@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I solved my problem by changing the compression method in the
> initramfs.conf file to xz ( COMPRESS=xz) ,updating initramfs  and
> updating GRUB after.
>
> Commands:
> -> sudo update-initramfs -u -k version
> in my case: sudo update-initramfs -u -k 5.15.86-rt56
>
> ->sudo update-grub
>
> Important to say that I'm using version 5.15.86-rt56 now.  Also, I
> noticed before solving the problem that the initrd.img-"version"-rt"x"
> was a big file with
> around 700 MB size, after changing the compression method and updating
> initramfs it is with 56,1 Mb now.

I guess you built with CONFIG_DEBUG_INFO=y?
This will bloat kernel and modules a lot.

-- 
Thanks,
//richard



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux