32

A cropped screenshot showing snap-store in the system monitor window using 355 MiBs of memory. The snap-store process is intermittently using hundreds of megabytes of RAM.

Is this normal? Is there a solution?

6
  • I got pretty high %MEM as well; but killing it via top seems to work at least temporarily.
    – DK Bose
    May 15, 2020 at 13:07
  • 1
    Also, you can go through bugs.launchpad.net/snap-store/+bugs?orderby=-id&start=0 and maybe file a bug? If you do, please ping me so I can #MeToo the bug.
    – DK Bose
    May 15, 2020 at 13:23
  • I just checked the memory used by snap-store in Kubuntu 20.04. It's about 32 MB there, with it open. So it seems like something is amiss with Ubuntu. I've recently not had any response to bugs I've filed so I won't be filing any in this regard for now.
    – DK Bose
    May 16, 2020 at 4:48
  • When it isn't running, there's no snap-store process on Kubuntu 20.04.
    – DK Bose
    May 16, 2020 at 4:50
  • 1
    I have just copied this questions as a bug report here: bugs.launchpad.net/snap-store/+bug/1879137
    – James
    May 17, 2020 at 9:29

3 Answers 3

16

You can safely uninstall the Snap Store app with sudo snap remove snap-store && sudo apt install gnome-software, and if you do you will still be able to install snap apps from the terminal with sudo snap install package-name and also to manage installed snap apps from the terminal.

There is a temporary workaround. App Outlet is a universal Linux app store that has the functionality of searching for snap packages, but if you install it locally in your home directory without root permissions (it is an appimage app) then you have to install snap packages from the terminal. If App Outlet is locally installed (What is an “AppImage”? How do I install it?) the RAM it used should be freed up when it is closed.

I don't think Snap Store's excessive RAM usage is anomalous because other Ubuntu users have also reported the same problem. I suggest that you try App Outlet without uninstalling Snap Store. If App Outlet works as a replacement for Snap Store then you can uninstall Snap Store and install the Software app with sudo apt install gnome-software instead.

I have both Snap Store and the Software app installed in 20.04 and the RAM used by both apps is freed up when they are closed. I'm worried that your Software app will use excessive memory too, the same as the Snap Store does, but if it may solve half of the problem if it doesn't use excessive memory, and you can use App Outlet alongside the Software app as a replacement for Snap Store.

3
  • Thanks for the quick fix suggestion. I think there is definitely something amiss, and I am not the only one according to the bug report
    – James
    Aug 3, 2020 at 9:58
  • @James Please comment if anything in this answer, which I added new content to, doesn't work properly, so that I can follow up on your comment.
    – karel
    Aug 3, 2020 at 11:13
  • results of "define anomalous": deviating from what is standard, normal, or expected
    – karel
    Mar 12, 2021 at 10:12
3

This problem is inherited from Gnome Software, see https://gitlab.gnome.org/GNOME/gnome-software/-/issues/942 upstream. Hence suggestions to uninstall Snap Store and replace it with Gnome Software won't fit the bill.

2

Yeah its normal.

If you are not using snap-store just remove it using -

sudo snap remove snap-store

Instead you can use gnome-software

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .