gnome (or something) uses a lot of memory

Bug #1774047 reported by Balazs Pere
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
New
Undecided
Unassigned

Bug Description

After I log in (ubuntu session) the systen(?), shell(?) uses a lot of memory. When the computer has 2GB RAM, 1.2GB is used. When the computer has 4GB RAM, 1.7GB is used. When the computer has 8GB RAM, 2.2GB is used. I tried it out in virtualbox with a newly installed system. I changed the memory size and started ubuntu. I think a new, clean system should use the same amount of memory independently of the RAM size.
Not to mention that the system is unusable, because RAM quickly fills up (memory leak?) and become laggy. Unity in 16.04 uses approx. 800kB memory. Why does gnome-shell need so much memory? I think it should be fixed, because 18.04 is an LTS release! I would like to work with it.Description: Ubuntu

18.04 LTS
Release: 18.04

gnome-shell:
  Telepítve: 3.28.1-0ubuntu2
  Jelölt: 3.28.1-0ubuntu2
  Verziótáblázat:
 *** 3.28.1-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.1-0ubuntu2
ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue May 29 20:21:39 2018
DisplayManager: gdm3
InstallationDate: Installed on 2017-10-20 (221 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to bionic on 2018-04-15 (44 days ago)

Revision history for this message
Balazs Pere (perebal-sze) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1672297, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Balazs Pere (perebal-sze) wrote : Re: [Bug 1774047] Re: gnome (or something) uses a lot of memory

This bug report concerns to the initial size of the system (not the
continuously growing size). Is it a duplicate of bug 1672297?
Daniel van Vugt <email address hidden> ezt írta (időpont:
2018. máj. 30., Sze, 4:35):
>
> *** This bug is a duplicate of bug 1672297 ***
> https://bugs.launchpad.net/bugs/1672297
>
> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. This particular bug has already been reported and is a
> duplicate of bug 1672297, so it is being marked as such. Please look at
> the other bug report to see if there is any missing information that you
> can provide, or to see if there is a workaround for the bug.
> Additionally, any further discussion regarding the bug should occur in
> the other report. Feel free to continue to report any other bugs you may
> find.
>
>
> ** This bug has been marked a duplicate of bug 1672297
> gnome-shell uses lots of memory, and grows over time
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1774047
>
> Title:
> gnome (or something) uses a lot of memory
>
> Status in gnome-shell package in Ubuntu:
> New
>
> Bug description:
> After I log in (ubuntu session) the systen(?), shell(?) uses a lot of memory. When the computer has 2GB RAM, 1.2GB is used. When the computer has 4GB RAM, 1.7GB is used. When the computer has 8GB RAM, 2.2GB is used. I tried it out in virtualbox with a newly installed system. I changed the memory size and started ubuntu. I think a new, clean system should use the same amount of memory independently of the RAM size.
> Not to mention that the system is unusable, because RAM quickly fills up (memory leak?) and become laggy. Unity in 16.04 uses approx. 800kB memory. Why does gnome-shell need so much memory? I think it should be fixed, because 18.04 is an LTS release! I would like to work with it.Description: Ubuntu
>
> 18.04 LTS
> Release: 18.04
>
> gnome-shell:
> Telepítve: 3.28.1-0ubuntu2
> Jelölt: 3.28.1-0ubuntu2
> Verziótáblázat:
> *** 3.28.1-0ubuntu2 500
> 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
> 100 /var/lib/dpkg/status
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: gnome-shell 3.28.1-0ubuntu2
> ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17
> Uname: Linux 4.15.0-22-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.20.9-0ubuntu7
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Tue May 29 20:21:39 2018
> DisplayManager: gdm3
> InstallationDate: Installed on 2017-10-20 (221 days ago)
> InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=hu_HU.UTF-8
> SHELL=/bin/bash
> SourcePackage: gnome-shell
> UpgradeStatus: Upgraded to bionic on 2018-04-15 (44 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1774047/+subscriptions

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ah, sorry. If you're talking about 1.2GB used on login then you must be talking about the virtual memory size. That's not real memory - only address space.

For actual memory allocations see the VmData field in /proc/PID/status.

I think it's probably safe to call this a duplicate of bug 1759497 then.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.