<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Pay attention to excessive RAM consumption]]></title>
    <link>http://brainstorm.ubuntu.com/item/1678/</link>
    <description><![CDATA[Linux in general has the reputation of being light and nimble, compared to Windows. However, looking at the memory consumption of a rather standard Ubuntu install with Gnome desktop sadly gives a different picture.<br /><br />Just looking at residential memory (via top):<br /><br />345 MB: Firefox<br />279 MB: Xorg<br />110 MB: gnome-panel<br /> 74 MB: evolution<br /> 56 MB: beagled<br /> 45 MB: gnome-terminal<br /> 42 MB: nautilus<br /> 41 MB: beagle-search<br /> 32 MB: beagle-helper<br /> 20 MB: eog<br /> 17 MB: stickynotes_applet<br /> 15 MB: nm-applet<br /> 11 MB: update-notifier<br />...<br /> 10 MB: cpufreq-applet<br /> 10 MB: charpick_applet<br />  8 MB: trashapplet<br /><br />So, what I'm seeing is that some of the core apps are rather excessive (supposedly Firefox 3 will be better, yes?) But somehow, I can almost understand that.<br /><br />However, why do little applets and utilities like the update-manager have to consume SO much memory? In fact, shouldn't the update-notifier just be a cron job that gets executed occasionally, and then loads more stuff to notify me on the screen?<br /><br />Why do all the applets that are displayed on the desktop consume several MBs?<br /><br />Why does the gnome-panel consume more than 100 MB?<br /><br />I don't know the reason, but I could imagine that some of these things (beagle, for example) use Mono, which apparently is a memory hog. But do all of them? No, I don't think so.<br /><br />It would be great if more attention could be paid to overall memory footprint reduction. There are lots of nice applets available, but I'm thinking twice before installing them, considering the RAM they consume.<br /><br />Let Ubuntu be light and nimble. Let's show the world that you don't need 2 GB of RAM to work well.<br /><br />How about a memory-footprint reduction initiative, or drive? <br />
<br />


<b>[417 votes] Solution #1: Auto-generated solution of idea #1678</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Fri, 29 Feb 2008 18:51:06 +0000</pubDate>
    <lastBuildDate>Fri, 24 Jul 2009 11:42:20 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/1678/</guid>
        <item>
  <title>Comment from alperyilmaz</title>
  <description><![CDATA[Another problem I observe frequently is that, when a memory-monster application is started, a lot of swapping occurs. That's normal and there's nothing to about it if you don't have much RAM. However, when you are done with that application, you close it and expect that the swapped data will be taken back to RAM, but NO! Everything swapped stays as swapped. So, even though you have available memory, swapped applications respond slow since they need to be moved to RAM again.<br /><br />So, why not system moves swapped data to RAM when RAM becomes available?]]></description>
  <pubDate>Fri, 29 Feb 2008 19:06:10 +0000</pubDate>
</item>
        <item>
  <title>Comment from Areso</title>
  <description><![CDATA[It is a problem of these applications and their design, the chosen programming environment etc.<br /><br />The solution is to use alternatives.]]></description>
  <pubDate>Fri, 29 Feb 2008 19:42:21 +0000</pubDate>
</item>
        <item>
  <title>Comment from Estesark</title>
  <description><![CDATA[Your memory consumption seems rather high compared to mine - some applications in that list are 50% higher. How much RAM do you have installed?<br /><br />Although Canonical/Ubuntu should do everything they can, it is, in the end, the application designer's responsibility and prerogative and reduce or optimise memory consumption, and the consumer's right to switch to an alternative if they are unhappy.]]></description>
  <pubDate>Sat, 01 Mar 2008 02:51:49 +0000</pubDate>
</item>
        <item>
  <title>Comment from maco</title>
  <description><![CDATA[I'm using Hardy, and here's what I've got:<br />Firefox 3:  181MB<br />Xorg: 71MB<br />Gnome-Panel: 20MB<br />Gnome-Terminal: 16MB<br />Nautilus: 31MB<br />NM-Applet: 9MB<br /><br />Everything else you listed, I don't have running.  I have 1GB in use total right now.  Firefox's 181MB is the highest.  2nd is MythTV with 92MB (plus all the plugins I have going...transcoding movies is rather resource-intensive in general), then Sunbird with 82MB, then Nautilus's 31MB, then Pidgin with 26MB...and actually I see that trackerd is running for no good reason ("no good reason" = "I disabled everywhere I saw it"), as is Seahorse's daemon, so I'm going to go reclaim about 10MB of RAM.]]></description>
  <pubDate>Sat, 01 Mar 2008 10:51:02 +0000</pubDate>
</item>
        <item>
  <title>Comment from rawsausage</title>
  <description><![CDATA[Your Xorg will stop leaking as much when you move into Firefox 3. The Firefox 2.x used X's bitmap cache and often forgot to release the memory. As for what comes to to the rest the state has improved slightly. Especially system-monitor has improved a lot.<br /><br />Decreasing amount of gettys would be easy trick to reduce consumption.]]></description>
  <pubDate>Sat, 01 Mar 2008 22:01:04 +0000</pubDate>
</item>
        <item>
  <title>Comment from ethana2</title>
  <description><![CDATA[I've never seen numbers like that on my system.  Ever.<br /><br />...FF3 FTW!]]></description>
  <pubDate>Sun, 02 Mar 2008 08:31:21 +0000</pubDate>
</item>
        <item>
  <title>Comment from aschuring</title>
  <description><![CDATA[Are you sure you're looking at residential memory? Here's my list:<br /> VIRT   RES   COMMAND<br /> 171m   72m   firefox-bin<br /> 153m   46m   thunderbird-bin<br /> 140m   64m   /usr/bin/quodlibet<br />69492   16m   gnome-terminal<br />21272   12m   rtorrent<br />38812   10m   gnome-settings-daemon<br /> 292m   15m   Xorg<br />23576   16m   enlightenment<br /> 124m   24m   mysqld<br />All other programs are not even expressed in terms of XXm<br /><br />So that's 40M for the GUI (granted, it's not Gnome), everything else (esp. application memory footprint) is more or less outside of the scope of Ubuntu.]]></description>
  <pubDate>Sun, 02 Mar 2008 13:09:32 +0000</pubDate>
</item>
        <item>
  <title>Comment from asashnov</title>
  <description><![CDATA[jbrendel, do you use 64-bit version?<br /><br />in 64-bit all size_t and void* are 8 bytes instead of 4.<br /><br />When same programm alloc some number of objects in heap, on 64-bytes heap administrative data more then on 32-bit.<br /><br />So if you not have 4 Gb ram, use 32-bit version (all 64-bit processor features even still in use).]]></description>
  <pubDate>Mon, 03 Mar 2008 05:53:29 +0000</pubDate>
</item>
        <item>
  <title>Comment from Dreamsorcerer</title>
  <description><![CDATA[I also cannot believe it is that high, here is mine running on 512MB RAM:<br /><br />235MB firefox-bin<br />60MB Xorg<br />15MB pidgin<br />15MB evolution<br />14MB amarokapp<br />13MB python<br />13MB nautilus<br />13MB python<br />11MB gnome-panel<br />11MB python<br />9.8MB gnome-terminal<br />9.6MB python<br />8.6MB deskbar-applet<br />8MB gweather-applet<br />7.4MB stickynotes_app<br />6.8MB gtk-window-deco<br />6.6MB python]]></description>
  <pubDate>Mon, 03 Mar 2008 14:42:36 +0000</pubDate>
</item>
        <item>
  <title>Comment from spyyder</title>
  <description><![CDATA[No reason we can't imporve on memory useage. LETS RAISE THE BAR!]]></description>
  <pubDate>Wed, 05 Mar 2008 00:59:11 +0000</pubDate>
</item>
        <item>
  <title>Comment from Auzy</title>
  <description><![CDATA[I agree about some things, but some of it (like firefox's usage) is probably stuff like caching. <br />]]></description>
  <pubDate>Wed, 05 Mar 2008 05:19:13 +0000</pubDate>
</item>
        <item>
  <title>Comment from jbrendel</title>
  <description><![CDATA[This was taken after my system was up for more than a week, with heavy desktop use every day. I did a reboot today, and the numbers have somewhat decreased (posted below). Still, it all seems very high.<br /><br /> * Yes, I am looking at the RES column of the 'top' output.<br /> * I have 2 GB RAM.<br /> * Caching in Firefox is set to not more than 5 MB.<br /> * No, I'm not using 64 bit.<br /><br />168 MB: Firefox<br />130 MB: Xorg<br /> 59 MB: skype<br /> 57 MB: beagled<br /> 47 MB: evolution<br /> 34 MB: gnome-panel<br /> 33 MB: beagle-search<br /> 31 MB: nautilus<br /> ...<br /> 18 MB: eog<br /><br />So, it has slightly improved. But doesn't it still appear very high? And why did it get so very high in the first place?]]></description>
  <pubDate>Fri, 07 Mar 2008 02:22:18 +0000</pubDate>
</item>
        <item>
  <title>Comment from vexorian</title>
  <description><![CDATA[That's odd.<br />I don't use that much memory.<br /><br />firefox-bin 87 MB<br />java 54.1 MB (not by ubuntu's default)<br />java 16.1 MB (another one not by ubuntu)<br />gnome-panel 13.0 MB<br />nautilus 11.1MB<br />geany 10.3 MB (not ubuntu's default)<br />gnome-system-monitor <br />5.4 MB (I opened this to see the memory usage...)<br /><br />After that, there are some processes with memory quantities I don't really think are important / got lazy to copy it all.<br /><br />Regarding swapping, I think ubuntu should have decreased swappiness or configure it according to RAM memory, I got 768 MB but it wasn't using much of it (used swapping instead) until I manually increased the kernle's swappines.]]></description>
  <pubDate>Fri, 07 Mar 2008 14:34:18 +0000</pubDate>
</item>
        <item>
  <title>Comment from vexorian</title>
  <description><![CDATA[Just noticed gnome-system-monitor does not show root's xorg, it takes 55 MB on mine.<br /><br />279 MB on xorg sounds VERY strange. Could it be compiz?]]></description>
  <pubDate>Fri, 07 Mar 2008 14:36:09 +0000</pubDate>
</item>
        <item>
  <title>Comment from vexorian</title>
  <description><![CDATA[jbrendel: you got 2GB of RAM? Could it be processes use more memory if possible?<br /><br />In most of my ubuntu life, the worst memory hogs I've seen were:<br /><br />- virtual box running XP (totally justified though)<br />- war3.exe ( :) )<br />- firefox (It doesn't use a lot of memory but it is mostly always in the top with around 90 MB)<br /><br />Too good firefox is improving in that area with version 3.]]></description>
  <pubDate>Fri, 07 Mar 2008 14:38:16 +0000</pubDate>
</item>
        <item>
  <title>Comment from jsnow</title>
  <description><![CDATA[I think we need better tools for understanding memory use.  A lot of programs appear to be using more memory than they really are because they're linked with shared libraries used by other programs as well.<br /><br />http://lwn.net/Articles/230975/]]></description>
  <pubDate>Thu, 20 Mar 2008 03:06:14 +0000</pubDate>
</item>
        <item>
  <title>Comment from dustigroove</title>
  <description><![CDATA[+1 in my book.<br /><br />And on a tangent... I sincerely don't understand folks who claim  that suggestions are "outside the scope" of Canonical/Ubuntu. I call BS. The purpose of this site is for us to express ideas to improve upon the Ubuntu landscape, and as much of the ideas suggestions pertain to features found within the stock Ubuntu (thus the product "as sold" so-to-speak) it is fully within the scope of suggestion.<br /><br />This is our voice and place to be heard, if the ideas are sound and in demand then the powers that be can assist in driving for those changes.]]></description>
  <pubDate>Tue, 25 Mar 2008 01:43:40 +0000</pubDate>
</item>
        <item>
  <title>Comment from neomenlo</title>
  <description><![CDATA[Judging by all these peoples stats, it seems that the more ram you have, the more ram the program eats up. Is that possible?<br /><br />I've got 3GB and I usually have:<br />Firefox: 300 - 500<br />Pidgin: 100 - 250<br />Xorg: 200<br />Evolution: 10 - 150<br />Azureus: 100 - 200<br />even screenlets sometimes end up with 50 over time.<br /><br />Before you over react to the extraordinarily high ram usage for Firefox, I do have 5 windows open with at least 5 tabs in each of them, so it's probably justified.<br /><br />I can actually understand most of those, but pidgin is the most shocking one to me. It's just text.]]></description>
  <pubDate>Tue, 25 Mar 2008 23:33:09 +0000</pubDate>
</item>
        <item>
  <title>Comment from LostOverThere</title>
  <description><![CDATA[Why the Hell does the gnome-panel need that much ram? That's disgusting! ]]></description>
  <pubDate>Sat, 24 May 2008 11:40:23 +0000</pubDate>
</item>
        <item>
  <title>Comment from Vladimir Hidalgo</title>
  <description><![CDATA[Mem: 502M used: 187M buffers: 66M cache:241M<br />RES %CPU %MEM    TIME+  COMMAND<br />50m  0.0 10.0   0:35.74 epiphany-browse <br />44m  1.6  8.8  10:29.15 gnome-panel<br />22m  5.4  4.6   0:06.63 gnome-terminal<br />20m  0.2  4.1   0:06.61 nautilus <br />16m  4.8  3.2   4:48.55 Xorg<br />13m  0.0  2.7   0:00.77 mixer_applet2<br />13m  0.0  2.6   0:00.68 python<br />12m  3.5  2.5   1:27.14 metacity<br />11m  0.2  2.2   0:04.63 nm-applet <br />11m  0.2  2.2   0:02.66 gnome-settings-<br />10m  0.9  2.0   0:42.06 xmms<br />10m  0.0  1.8   2:59.04 squid3<br /><br />Ubuntu 7.10 with 512M of ram. Seems to me that most of the memory is used by Cache (and it's good AFAIK).<br /><br />But I wonder why gnome-panel takes 44m?, and why a simple applet like the mixer_applet2 takes 13m!.]]></description>
  <pubDate>Thu, 05 Jun 2008 13:04:28 +0000</pubDate>
</item>
        <item>
  <title>Comment from TWO</title>
  <description><![CDATA[Firefox 34MB<br />Gnome Panel 31MB<br />beagled 26MB<br />...<br /><br />Your memory seems extremely high. <br /><br />How many extra things such as applets do you have installed? Why not just get rid of things like Evolution so that they don't bother you or just disable them from starting up in the first place. <br /><br />I don't know what you do on your computer but I have half of your RAM, and my Firefox cache is set at a much higher value than your and yet the only time I see excessive use of memory is when Java is running. <br /><br />You can make changes to your system to stop things from consuming so much memory, and consider reducing the swappiness value to a lower number. <br /><br />I am all for low RAM consumption so either way, it's a +1 from me.]]></description>
  <pubDate>Tue, 01 Jul 2008 16:04:20 +0000</pubDate>
</item>
        <item>
  <title>Comment from cheesehead</title>
  <description><![CDATA[update-notifier, for example, does several things:<br /><br />- It controls the little apt-lock icon in your notification area.<br />- When new updates are available, it downloads them in the background.<br />- It reminds you to launch Update Manager at the interval you specify.<br /><br />My non-geek grandma likes the convenience of specifying the update preferences, and pay the RAM overhead for the service.<br /><br />I, however, uninstalled it on my machine and replaced it with a cron job.<br /><br />Ubuntu is meant for my grandma, but offers me the flexibility to do it my way, too. Good balance.]]></description>
  <pubDate>Fri, 18 Jul 2008 18:07:50 +0000</pubDate>
</item>
        <item>
  <title>Comment from migueleonm</title>
  <description><![CDATA[If you have a large SWAP, many ram will be consumed because the system try to paginate the swap... WIth 2GB of RAM you only need 1GB of swap or less... I'll try 600MB.]]></description>
  <pubDate>Tue, 05 Aug 2008 06:33:56 +0000</pubDate>
</item>
        <item>
  <title>Comment from Vladimir Hidalgo</title>
  <description><![CDATA[Intrepid, gnome-panel 2.24.1 -> 28MB<br />:(]]></description>
  <pubDate>Wed, 29 Oct 2008 14:36:03 +0000</pubDate>
</item>
      </channel>
</rss>
