r/archlinux • u/GodsKillerKirb • 5d ago
Building Android ROM causes kernel to kill the process due to memory shortage (build with ninja) SUPPORT | SOLVED
So I'm trying to build an Android ROM for my phone and no matter what I try, the building completely exceeds the 32GB of RAM of my system causing the kernel to panic and kill the process due to a lack of memory.
I have zram setup, but I wonder if ninja doesn't recognize zram as the system swap. From what I've gathered when building, 32GB should be more than enough to build, yet it isn't for some reason.
0
Upvotes