Ubuntu 16.04 Unity desktop uses much more ram than Ubuntu 15.10

Bug #1572801 reported by warren on 2016-04-21
916
This bug affects 176 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
High
Unassigned
Xenial
High
Unassigned

Bug Description

Ubuntu 16.04 64bit ISO number 20160420.1
unity version 7.4.0+16.04.20160415-0ubuntu1
Ubuntu 16.04 64bit ram usage has increase dramatically over Ubuntu 15.10
Ubuntu 16.04 ram roughly 1 GB Ubuntu15.10 can be tuned to 420, 450 MB
Ubuntu 16.04 with unity uses 1GB whereas Kubuntu 16.04 is using 420MB live usb

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity 7.4.0+16.04.20160415-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CasperVersion: 1.376
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Apr 21 01:44:22 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1043:8534]
GsettingsChanges:
 b'org.compiz.core' b'outputs' b"['1920x1080+0+0']"
 b'org.compiz.core' b'active-plugins' b"['core', 'composite', 'opengl', 'place', 'regex', 'resize', 'session', 'snap', 'vpswitch', 'wall', 'animation', 'commands', 'compiztoolbox', 'copytex', 'fade', 'grid', 'imgpng', 'mousepoll', 'move', 'scale', 'unitymtgrabhandles', 'workarounds', 'expo', 'ezoom', 'unityshell']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
 b'org.gnome.desktop.interface' b'scaling-factor' b'uint32 1'
LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: ASUS All Series
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash --- cdrom-detect/try-usb=true noprompt
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/03/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2004
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z87-PLUS
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2004:bd06/03/2014:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ87-PLUS:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Thu Apr 21 01:37:17 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.18.3-1ubuntu2

warren (wkclemmons) wrote :
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1572801

tags: added: iso-testing
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Where and how do you measure those numbers? Unity/compiz uses 223M here

Changed in unity (Ubuntu):
importance: Undecided → High
status: New → Incomplete

The number were measure using system monitor and htop.

On 04/21/2016 05:47 AM, Sebastien Bacher wrote:
> Thank you for your bug report. Where and how do you measure those
> numbers? Unity/compiz uses 223M here
>
> ** Changed in: unity (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: unity (Ubuntu)
> Status: New => Incomplete
>

warren (wkclemmons) wrote :
warren (wkclemmons) wrote :

16.04 system monitor

Scott Mackay (sgian333) wrote :

This affects me also. Ubuntu Gnome 16.04 is using 2.3 GB of RAM, or 30% of my total RAM. Biggest memory hogs in the processes list according to system monitor are gnome-shell, dropbox, and gnome-software, all over 240 MiB of RAM each. Evolution and chrome are also using a bit (20-90 MiB for each open process). Specs of the computer are Intel MSI B85-G41 motherboard, Pentium G3258 dual core processor, GT 730 graphics card, and 8 GB RAM.

warren (wkclemmons) wrote :
Mohamed Bassem (medoox240) wrote :

I've also noticed the same thing, searched for the problem and found this bug report. Usually ubuntu 15.10 used to start with ~400MB memory usage, currently it starts with around 1.4GB on my machine.

Tom (4homas) wrote :

Same here.
After update from 15.10 to 16.04 Ubuntu is using around 1.2GB on my 32bit machine.

I installed new fresh-install ubuntu 16.04 64bits
and noticed high ram usage,
in my case, rapidly going to swap, so making ubuntu slow, with little work load.
Previous versions (I always used 32bits on this machine) didn't swap on normal daily usage.

I'm on an relatively old Dell Latitude D530
with 2gb ram
processor Intel Core 2 Duo @2.0ghz x2
graphics intel 965gm (system configurations -> update -> additional drivers says it's using the proprietary intel-microcode firmware for intel cpu but it wasn't activated on the previos ubuntus 32bit versions I used in past).
I installed (from ubuntu software): dropbox (which is running, automaticly from start-up) ,
and also synaptic, gimp, inkscape, virtualbox (includes dkms), kazam, pulse audio volume control, viewnior, linssid (wich are NOT running).

So now, I rebooted, opened firefox with only this tab, and system monitor, which is indicating 1.1gb ram usage.

So I tried deactivating the proprietary intel-microcode firmware for intel cpu,
but it seems to make no difference,
Anyway, I will reboot now, and if I see difference, I'll write.
If I can help, maybe some log or test, please let me know.

1 comments hidden view all 134 comments
kikito (cma54) wrote :

Hello.

same problem: look at HTOP 2016-04-25 23-02-04.png ! ! !

Singtoh (singtoh) wrote :

Thought I would add a "Same here". After fresh install of Ubuntu-Gnome(64bit) sitting at idle. 1 to 1.5gig of ram usage after about 15 min. After looking at the internet for a bit, 2 to 2.5gig out of 8gig ram.(%26 to %30).

I was running Ubuntu-Gnome 14.04(64bit) and at idle 400 to 500mb of ram usage after 15min on this same machine. Doing everyday stuff with programs open I never saw ram usage go above %25.

Cheers,

Singtoh

Romain Cambier (r-me-v) wrote :

Same here

Andrei B. (andrei-balint) wrote :

ubuntu gnome 16.04 with 4 GB of RAM. I almost died in shock when I saw that after a few hours of light usage my system was using swap memory :) . This did not happen with Ubuntu Gnome 15.10.
BIG "Same here" from me as well.

huizache (huizache) wrote :

Same here with ubuntu unity 16.04 with 4 GB on a macbook 4,1 = 1.9GB ram and 1GB cache after 10 minutes running Chromium with only one tab.

Sébastien Cany (s-cany) wrote :

I have the same problem with ubuntu unity 16.04, with 4 GB on DELL Latitude 3340.

tags: added: u7-trello-import
ViBE (vibe) wrote :

definitely. on 14.04 (64 bit) with a bunch of favourite indicator, mail client, Skype my system used about ~800-900 MB memory. now it use much more sometimes and applications like a browser use much more on 16.04 and i have no clue why cause i'm using the same applications.

Rakshith (rakshithravi1997) wrote :

Well? Everyone seems to be adding a "Same here" but perhaps someone could point out a fix or at least the reason as to why it is happening?

Sebastien Bacher (seb128) wrote :

Could somebody having the issue add a screenshot of gnome-system-monitor processus lists sorted by memory usage when getting the issues? The screenshots on there don't show excessive usage for e.g compiz, would be interesting to know what processus is using the memory on those installations

kikito (cma54) wrote :

Hello.

look at #13 : HTOP 2016-04-25 23-02-04.png

it is not enough?

Sebastien Bacher (seb128) wrote :

@kikito, not really no, the memory usage we are looking at is the "SHR" column, it has

67.8M compiz
27M gnome-software
43M nautilus

etc

there is no entry that seems buggy in there nor higher than previous versions

Scott Mackay (sgian333) wrote :

Here are some screenshots with Ubuntu 16.04 gnome on two different computers. Gnome seems to have improved a little on memory usage in 16.04 since the last time I reported, but I don't know how.

This screenshot is from my intel computer.

Scott Mackay (sgian333) wrote :

This screenshot is from my amd computer...

Andrei B. (andrei-balint) wrote :

I have the impression this issue is related:
http://askubuntu.com/questions/762717/high-shmem-memory-usage

Sebastien Bacher (seb128) wrote :

There are no process that looks especially resource hungry in those screenshots, what's the issue exactly?

kikito (cma54) wrote :

mmmmhhh ?

something has changed since 2016-04-25:

HTOP 2016-04-25 23-02-04.png --> Mem=1.13G

HTOP 2016-05-10 14-42-11.png --> Mem=619M ? ? ?

same machine, same config, just open session ! ! !

maybe kernel: Linux PC-xxxxxx 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Scott Mackay (sgian333) wrote :

@ Sebastien Bacher

I'm still having the excessive use of RAM, even though there is no single process that is responsible. I don't know if the excessive RAM is from the number of running processes or if there is something else using up the RAM. In this screenshot, I don't have any other application open and the computer had been rebooted recently, yet it is still using 1.1 GB of RAM in the screenshot.

Romain Cambier (r-me-v) wrote :

I do confirm: compiz is taking about 300 MB which is fine, but my used ram is about 1.5 GB.
Another thing: when launching most of my applications (especially games), I'm out of memory (even with 8 G + 8 G of swap)... I had the same games/configs/hardware/versions/... on ubuntu 15.04 & 15.10 and I never had those OOM.

There is definitively something wrong with memory management: While htop shows a ram usage of 4Gigs par exemple, my ram is used at 9 gigs... with nothing else running !

@ Sebastian

In 2 computers:
I apt-get updated & upgraded,
then re-booted twice,
and just after last start-up I started making snapshots with the "Print-Screen" button + save file.
Description of moments on file names (Captura de Tela = Screen Shot in Portuguese).

I use Ubuntu GNOME without Unity and face same problem (fresh boot, opening several browser tabs - chrome, opera, atom and system starts using swap and freeze UI in 30 minutes of browsing, 4Gb RAM + 4Gb Swap ). It was not so irritating before upgrade from 15.10.

Swappiness set to 5 (but didn't help much)

So I believe it may not be connected with Unity, but would support idea in post #30 about problems with memory management

same bug with my old computer.
Around 880 to 1 gb by-default memory usage at start up.

Rakshith (rakshithravi1997) wrote :

About 2 GB with just VLC runnning. Added screenshot of system monitor showing processes sorted out by RAM Usage

Rakshith (rakshithravi1997) wrote :

Hope it helps. Could it be that system monitor is not able to detect a process that is consuming RAM? Perhaps the process is not showing up in system monitor but is actually consuming a lot of RAM? Like the kernel, or systemd or something low level like that?

pablo (pablo-dm13x) wrote :

Same here. Using almost 4 gb ram and 1 gb from the swap when i have open firefox, chromium, skype and smplayer (my pc: intel i3 with 4 gb of ram).

Panchal Sagar (panchalsag) wrote :

Same bug. Laptop with 4GB ram uses 1.2 GB on startup. And when firefox and clementine is opened it takes 2GB of ram.

Sebastien Bacher (seb128) wrote :

doesn't seem to be an issue with the unity shell process but rather with memory management, reassigning to the kernel

affects: unity (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → New

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.6 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
importance: Undecided → High
tags: added: kernel-da-key
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu Xenial):
status: Incomplete → Confirmed
54 comments hidden view all 134 comments
bhartendu (bhartendu-2007) wrote :

Hi, I am facing the same issues.

In my case gnome-shell and gnome-daemon are taking most of the memory. At one point gnome-shell was using 5.6 GB of RAM.

Thiago Martins (martinx) wrote :

Right after booting my 16.04 (now 16.10), before even logging into Unity, I go to text console and log there...

32G of RAM being used! htop shows nothing...

Thiago Martins (martinx) wrote :

You guys can ignore my latest message (#96).

rob cain (rcain-3) wrote :

Just to add, too was experiencing high RAM usage & what appeared to be a slow but steady memory leak in Unbunti 16.04 (latest). In my case, I discovered at least part of the problem was one or more (yet to be determined) Firefox (v49.0) plugins/add-ons. People also running Firefox might like to retry tests using Firefox in Safe mode (all add ons disabled), if you haven't alreay done so, see if that makes any difference. (Also running stuff like Dropbox in the background whilst trying to pin down a problem like this seems an inherently bad idea).

Khurshid Alam (khurshid-alam) wrote :

Now I can confirm It's definitely the kernel. Here are my test result:

Kernel RAM usage after boot
---------------------------------------
4.4.0-18: 600MB
4.4.0-22: 600MB

4.4.0-31: 900MB
4.4-0-38: 900MB
4.4-0-42: 1000MB

4.8-0-22: 900MB (Yakkety)

Can anyone confirm ?

bekou (bekou) wrote :

@Khurshid Alam

Well, I do confirm that adding the 4.4.0-22 kernel, there was a drop in the memory usage.

Initially, the system started with 1.2 gb.

I disabled evolution processes as suggested above.

cd /usr/share/dbus-1/services
sudo ln -snf /dev/null org.gnome.evolution.dataserver.AddressBook.service
sudo ln -snf /dev/null org.gnome.evolution.dataserver.Calendar.service
sudo ln -snf /dev/null org.gnome.evolution.dataserver.Sources.service
sudo ln -snf /dev/null org.gnome.evolution.dataserver.UserPrompter.service

and gnome-software. There was a drop to 993 mb.

After the suggestion above with kernel 4.4.0-22, my system starts at 795.2 mb.

Moreover, the teamviewer process is running at system startup, so these numbers can be further reduced by 70-100 mb.

If somebody knows how to re-enable evolution processes please let know.

Mozg (andrei-arhont) wrote :

It's got something to do with the kernel. Done a quick test using the latest kernel 4.4.0-42-generic. Restarted my pc and logged in. Opened terminal and mem usage was 1.8gb.

Done the same with the latest 4.8.1 kernel from ubuntu kernels page and the usage was only 673mb.

Crazy!

In my case removing intel-microcode (propietary driver) the ram drops to 900MB (but loses performance and video in hd frezes)

Jean Carlos (negrotico19) wrote :

Definetly the newer kernels (non-officials) use a lot less ram memory than older one. But the problem comes with WiFi network card.

In my case, I am not able to switch to kernel 4.8.6 because I loss WiFi conectivity (BCM4312 like any Dell laptop), I need to be stick to kernel 4.4.0 for now.

Stoyan Ivanov (stoyan-sumdog) wrote :

16GB of DDR4 ram on a workstation. Chrome with 30 tabs plus multiple terminals and text editors = all of it full. When I used 14.04 LTS, everything was okay, 10-12GB used with a lot more chrome tabs open. Waiting for a fix for this.

I solve with removing google talk firefox extension (very old version)
My 2 cents

I solved it removing google talk firefox extension (very old version)
My 2 cents

insp (geiser007) wrote :

It's hard to work with because of this issue. Also I've found out that Google Chrome fill in all RAM with time and system starts swapping.

insp (geiser007) wrote :

In addition to post above. The system starts swapping and became unresponsive, then OOM (Out of memory) killer starts working, killing Chrome tabs.

Reinhard (reinhard-fink) wrote :

In my test I saw following:

UBUNTU 14.04 uses about 482MB memory
UBUNTU 16.04 uses about 966MB memory

So I reduced memory with following script, which removes software I don't need, and ended at about 660MB memory. Also boot- and login time get a little bit shorter.
But I am not to happy, because I would prefer to stay on a standard-installation.

#!/bin/bash
# remove memory consuming programms, we do not need:
# gnome-software, Softwarecenter
apt-get -y purge gnome-software

# evolution groupware, Groupware Suite
apt-get -y purge evolution-data-server
# snapd, Snap Packages
apt-get -y purge snapd

# modemmanager, Manager for Modems
apt-get -y purge modemmanager

# ppp, Point to Point Protocol
apt-get -y purge ppp

# avahi-daemon, Zero Conf Network
apt-get -y purge avahi-daemon

Blue Boelter (blueaz) wrote :

I also have this problem on my AMD 64-bit system with 4 Gb of RAM. I've read thru all the stuff above, and I still don't know what to do. I don't understand what Evolution is or what it does, so I don't know if I can remove it. I'm scared to copy/paste people's code into a Terminal, as it's not from an official source.
All I know is: I've been using LTS versions of Ubuntu for over 5 years, and this is the worst memory-suck problem I've ever had. I upgraded to 16.04. It ran OK for awhile; I installed all recommended updates. Now it's gobbling up all my RAM, windows are graying out, programs are slow or don't even work right.
How can this issue be brought to the attention of someone qualified to provide a real fix?

Ryan Karolak (rkarolak) wrote :

Evolution is the application that Ubuntu uses for calendar, mail, and contacts. A similar program would be Mozilla's Thunderbird.

It doesn't surprise me that removing it would free up some RAM, but I don't think this is necessarily the root of the problem. Removing it from other versions of Ubuntu would similarly free up RAM there as well.

Chrome has also always been a memory hog for years. It's a problem across all platforms, not just Ubuntu/GNU/Linux. Disabling as many extensions and add-ons can help there.

I haven't done much testing myself, but it may be worth testing different Window and Desktop Managers to see if it Unity maybe plays a role in the problem.

My machine is a 2013 Pixel (Reflashed ROM) running Ubuntu 16.04 LTS (Unity). I have 4 GB of RAM and I have more than one or two applications it starts swapping much sooner than I'd expect.

Download full text (5.6 KiB)

I decided to try Fedora 25 Gnome. 4 GB of RAM proved not enough for Chrome,
this considering gnome starts already at 1.3 GB. All in all it does'n feel
much different than Unity in mem usage. Xubuntu and the lighter bunch start
with less ram, so Chrome has a harder time swapping. I would not care about
Chrome, but my wife is using it ( I'm a firefox guy). I stayed with Fedora,
but I had to buy 8 extra GB of ram and disable swap. The system works fine
since then.

On Dec 6, 2016 10:55 PM, "Ryan Karolak" <email address hidden> wrote:

Evolution is the application that Ubuntu uses for calendar, mail, and
contacts. A similar program would be Mozilla's Thunderbird.

It doesn't surprise me that removing it would free up some RAM, but I
don't think this is necessarily the root of the problem. Removing it
from other versions of Ubuntu would similarly free up RAM there as well.

Chrome has also always been a memory hog for years. It's a problem
across all platforms, not just Ubuntu/GNU/Linux. Disabling as many
extensions and add-ons can help there.

I haven't done much testing myself, but it may be worth testing
different Window and Desktop Managers to see if it Unity maybe plays a
role in the problem.

My machine is a 2013 Pixel (Reflashed ROM) running Ubuntu 16.04 LTS
(Unity). I have 4 GB of RAM and I have more than one or two applications
it starts swapping much sooner than I'd expect.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1572801

Title:
  Ubuntu 16.04 Unity desktop uses much more ram than Ubuntu 15.10

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Xenial:
  Confirmed

Bug description:
  Ubuntu 16.04 64bit ISO number 20160420.1
  unity version 7.4.0+16.04.20160415-0ubuntu1
  Ubuntu 16.04 64bit ram usage has increase dramatically over Ubuntu 15.10
  Ubuntu 16.04 ram roughly 1 GB Ubuntu15.10 can be tuned to 420, 450 MB
  Ubuntu 16.04 with unity uses 1GB whereas Kubuntu 16.04 is using 420MB
live usb

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: unity 7.4.0+16.04.20160415-0ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
  Uname: Linux 4.4.0-21-generic x86_64
  .tmp.unity_support_test.0:

  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.376
  CompizPlugins: No value set for `/apps/compiz-1/general/
screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Thu Apr 21 01:44:22 2016
  DistUpgraded: Fresh install
  DistroCodename: xenial
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated
Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
     Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v3/4th Gen Core
Processor Integrated Graphics Controller [1043:8534]
  GsettingsChanges:
   b'org.compiz.core' b'outputs' b"['1920x1080+0+0']"
   b'org.compiz.core' b'active-plugins' b"['core', 'composite', 'opengl',
'place', 'regex', 'resize', 'session', 'snap', 'vpswitch', 'wall',
'animat...

Read more...

chris (serella-c) wrote :

16.04 - AMD 64bit - 4GB ram - nvidia GT610 (2GB model)

I get full lock up if i run any program that is resource intensive for too long. Noted that swap was disabled for some reason. Have enabled swap (5GB) which prolonged the amount of time to lockup however it still occurs.

free -m repeated over a period shows that the ram is gradually being used up (no surprise there).

It's 2017 now almost a year since this bug was filed, is this going to be fixed any time soon, Looking at the status of this report it doesn't appear to be assigned to anybody?

david wood (david-wood) wrote :

I see a lot of chatter that is likely confusion related to the leak manifestations, and the false belief that eliminating X or Y memory consumer "fixed" the problem. The proper test is probably to leave a computer running, idle for 24-48 hours; if you begin swapping and running out of RAM while taking no action, you are still afflicted. Anyone who has not done that will not know if the issue is fixed.

As this leads to swap thrashing for anyone who leaves their computer running (which is many people), this software bug is leading to real-dollar hardware damage (as write spam kills flash memory drives).

Miguel Romão (romao-miguel) wrote :

So at this stage the best solution seems to be: wait for 17.04 and check again. Great... until then my 4 gb RAM laptop feels like last century technology...

Sergei (markovs-i-mail) wrote :

Confirmed.
It looks like 17.04 uses less ram than 16.04.

Matt Mudrich (zipfreed) wrote :

Wanted to chime-in and say I experience the same thing. Issue doesn't persist in Ubuntu Gnome flavor on the same hardware.

Did notice some earlier posters mentioned dropbox, have noticed the latest version will consistently chew up available memory the longer the machine is on.

Marcantonio (marcantonio) wrote :

This is affecting our servers, which we just upgraded to 16.04. No unity or gnome or any of that. Memory, for any application it seems, just grows more rapidly. I'm convinced this is related to the kernel.

I hate to be the guy to say this, but why isn't this a bigger deal?

I've tried 4.4.0-59 and 4.8.0-34. I haven't seen any improvement.

Sergei (markovs-i-mail) wrote :

For me problem is gone since upgrading kernel to 4.9.0.
You can try to get it from 17.04 repo.

warren (wkclemmons) wrote :

So you're saying that kernel 4.9.0 cuts ram usage to 14.04 levels which
would be a reduction of about 600-700 megabytes.

On 01/30/2017 12:59 PM, Сергей wrote:
> For me problem is gone since upgrading kernel to 4.9.0.
> You can try to get it from 17.04 repo.
>

Sergei (markovs-i-mail) wrote :

It uses less RAM than 16.10 and 16.04. Difference is about 500 MB on start and 1Gb after launching different applications.
It's hard for me to compare 14.04 and 17.04, because it's 2.5 years passed. But I think moving to systemd increased RAM usage anyway. And some new versions of daemons and libraries can use more RAM than their 14.04 versions.

Marcantonio (marcantonio) wrote :

Will 4.9 be backported to 16.04?

nevergone (nevergone) wrote :

Somebody?

warren (wkclemmons) wrote :

Does Bug 1572801 have anything to do with the Upstart to systemd transition?

On 02/17/2017 03:37 AM, nevergone wrote:
> Somebody?
>

Keith (herronkeith) wrote :

I did have bootchart installed. So I removed and purged it and went as far as moving the hidden .bootchart directory to the trash (couldn't delete it) and then restarting the computer. So far this seems to have resolved the problem for me. I'm no longer seeing the slow but steady increase in memory usage. So my thanks to Jacek Kończewski for his comment above (#47).

tomsk (tomsk-slovak) wrote :

same here :( my tests: http://askubuntu.com/questions/888509/unity-reduce-ram-usage

Ubuntu is going down..

James Baughn (geek-v) on 2017-03-06
Changed in linux (Ubuntu Xenial):
status: Confirmed → Fix Released
Scott Mackay (sgian333) wrote :

Where is this "fix"? I know it isn't bootchart, because bootchart isn't on any of my installations.

tomsk (tomsk-slovak) wrote :

Fixed? Haha made my day :D

tomsk (tomsk-slovak) wrote :

So where is fix? There is no fix release.

WindTux (windtux) wrote :

with KDE Neon there are not problems of Excessive consumption... is unity or gnome 3.18 the problem...

tomsk (tomsk-slovak) wrote :

If is it possible I would like to downgrade unity/gnome to Ubuntu 15.10 version.

Amr Ibrahim (amribrahim1987) wrote :

The Xenial task was 'Fix Released' by mistake. Please revert back to 'Confirmed'.

WindTux (windtux) on 2017-03-16
affects: linux (Ubuntu) → unity (Ubuntu)
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
warren (wkclemmons) wrote :

In Ubuntu 14.04.5 I used the free -m command and gnome-system-monitor the results were indentical, but Ubuntu 16.04.2 the results are not identical gnome-system-monitor adds 600MB to the memory usage.

tomsk (tomsk-slovak) wrote :

I dont think that it will be fixed (no annoucement from devs --> devs are lazy), maybe it is time to switch to KDE/LXDE or another distro :)

Displaying first 40 and last 40 comments. View all 134 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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