Upon reboot get: "error: out of memory"

since recovering from grub update situation (boot to BIOS)

upon reboot get:
“error: out of memory”
“error: out of memory”
“press any key to continue…”

Might someone have a solution to resolve this issue?


1 Like

Yeah, I get this problem as well. I think it’s something to do with the EOS grub theming.

Possible solution is on pinned topic:


That seems to do with it not booting at all, which is a separate issue. The problem here is just the messages and subsequent grub with no theming.

the OS does boot up – either after waiting a number of seconds or by pressing a key

Yeah, I know, I was replying to Triby’s suggestion.

Confirm your booted UEFI entry is correct. If you recently re-installed grub, maybe you are booting to the old entry (in UEFI BIOS boot order).

1 Like

I had to use default black/white grub theme to get rid of out of memory error.

1 Like

I installed rEFInd to see if that would fix anything, but now when I select rEFInd’s first entry (or leave it to autoboot) it just brings up the out of memory error again. Aarrgh!

I get this error with no theme and grub update complains /etc/grub.d/proxifiedScripts/linux.bak: line 200: version_find_latest: command not found"
Screenshot from 2022-08-26 17-55-42
Screenshot from 2022-08-26 17-55-32
grub customizer does this

that is also part of my problem, not seeing the colorful boot menu, instead it defaults to a black/white theme. Starting to think the way to a solution exists in /etc/default/grub.

have run “sudo grub-mkconfig -o /boot/grub/grub.cfg” and “sudo grub-install /dev/nvme0n1p1”

perhaps something is misconfigured in /etc/grub.d

I will say be very careful if you intend to edit /etc/default/grub. I tried it a couple of days ago and it just booted to a completely blank screen :frowning_face:

Start your own thread. Do t be surprised if no one wants to help you with that hot piece of garbage grub customizer.

1 Like

I didn’t use it to actually edit anything its just on my system and I was curious if it kicked out errors in relation to this issue.

Sorry to necro but I have done this and still getting out of memory error on each cold boot and reboot. If it helps, I’m using ZRAM and no swap partition/file.

I get this error as well, I also get a memory related error when I use GRUB to boot into Windows. It doesn’t seem to affect any OS related functionality though, my work and gaming sessions seem to be completely unaffected.

Are you using the latest grub (2:2.06.r322.gd9b4638c5-4)? You may also need to do sudo grub-install.

1 Like

you will need to do both a second time grub-install and grub-mkconfig -o /boot/grub/grub.cfg
or remove the theme:
sudo nano /etc/default/grub
and comment the grub-theming line:
save (Ctrl+X) and rerun grub-mkconfig -o /boot/grub/grub.cfg

grub-install should get rerun in both cases because we know now that it is needed after each grub package update.


Thanks @joekamprad @endbob! The memory errors have gone away.

My GRUB boot menu is also now black and white (because of disabling the EndeavourOS theme obviously), but I surprisingly prefer it this way, seems to fit in more with how the bootup text and appearance usually is. :joy: