Error: ../../grub-core/kern/mm.c:376:out of memory

I can’t install anything or load anything until this is solved.
Can someone please throw me a freaking bone I have no clue what this eror is trying to say and couldn’t find but one unhelpful article specific to fedora.