Unable to update Librewolf through eos-update --aur

This is either a bug report or a request for help, depending on if there is an easy user side fix.

When trying to update Librewolf (compiling from source) using eos-update --aur, the build process will gradually use almost all available memory. Eventually, the system freezes when 30.8 of 31.3 GB Ram according to Task Manager are occupied. It starts with the XFCE desktop becoming very slow, the mouse barely moves. A bit later, the PC freezes completely and only a hardware side reset helps.

It may be related that I am not using a swap partition to avoid excessive writes on the SSD.

Does anyone have a hint how to avoid that memory overflow? I’ll experiment a bit more and will tell you if I find something.

Welcome to the community @Rabiator :waving_hand::smiley: :enos_flag:

You might install the pre-compiled version instead :wink:

yay -Syu librewolf-bin

There are two factors here:

  • You are building a browser from source, this is a huge task
  • By default, /tmp is a tmpfs which consumes RAM

There are 3 ways to fix this issue:

  • Use the librewolf-bin package instead, which is precompiled
  • Reduce the amount of parallelization in /etc/makepkg.conf
  • Mount /tmp on the disk instead of memory.