gnome-software background service allocated a huge amount of memory, crashed system
Submitted by AsciiWolf
Created attachment 364690 gnome-software gapplication-service threads with 9.6G allocated memory
Description of problem: I have already reported this issue in Red Hat BZ, but it seems to be an upstream issue. After running dnf uninstall, my system suddenly became very slow and after a few seconds completely frozen. After a few minutes, I managed to switch to tty3, log in, run htop and see what caused the issue. See the attached screenshot.
Version-Release number of selected component (if applicable): gnome-software-3.24.3-1.fc26
How reproducible: Hard.
Steps to Reproduce:
- Run dnf install/uninstall/upgrade/etc.
Additional info: This happened to me three times. First time it was during dnf install and resulted in broken rpm db that could not be fixed without an OS reinstall. Second time was now, after dnf uninstall. Fortunately, this time it happened after the dnf operation was done. Third time was few seconds after uninstalling an application (HandBrake) using GNOME Software. Unfortunately, I was not able to get any relevant logs.