Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Excessive RAM consumption in 11.2

  1. #1

    Default Excessive RAM consumption in 11.2

    Hi everyone. I've just got 11.2 installed and started making my usual tweaks and installations to get things how I like them. I put some system monitoring graphs on the panel at the bottom of the screen and I noticed that it looked like quite a bit of RAM was being used. I've always used used these monitoring graphs so I know that, by default, they render themselves useless by having a variable vertical scale. I looked for the options to fix the scale to the size of my RAM (1GB), but found that they've been helpfully been removed since KDE 4.x. So to be sure, I opened a terminal and entered cat /proc/meminfo. It showed that after having only Firefox open with 3 tabs (all pages of this forum so no Flash objects etc.) and Ktorrent finishing two small downloads, so much RAM had been used that my swap was starting to be used.

    To check this out I shut the PC down completely, switched it back on and booted into run level 3. Entering cat /proc/meminfo immediately after login showed 1,021,516 KB of RAM available to Linux and that 422,724 KB of this 1,021,516 KB (41.4%) had been consumed. I did the same thing again, but this time booted into the full run level 5 desktop and cat /proc/meminfo showed that 546,252 KB (51.8%) had been consumed.

    Is there some way I can find out what is eating up so much of my RAM before I even get to my desktop? I always make sure to chuck out that kerry/beagle stuff when I first install a new Suse because I don't like resources being eaten up by stuff I don't like and will never find useful.

  2. #2

    Default Re: Excessive RAM consumption in 11.2

    Have you checked how much of it is just cache?

    11.2 eating too much memory - openSUSE Forums

  3. #3

    Default Re: Excessive RAM consumption in 11.2

    You can type "top" in a terminal to see what's using the most memory. If you have two computers and you can log in through ssh, boot in runlevel 3, ssh from the other computer and type "top" in your ssh terminal, then type "init 5" on the computer you want to monitor. Or you can start X on several different ways, by typing "gdm", "xdm", "kdm" or even "startx".

  4. #4
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Excessive RAM consumption in 11.2

    ktorrent has extremely inefficient memory management. It doesn't even support caching and I've found that even with 2GB of RAM, when downloading a bit larger torrents (4-7GB) it will ALWAYS eat up all RAM and then begin to swap.... this combined with it crashing when you leave it running during the night and freezing the entire desktop for up to a minute during start when one has enabled IP block filters (bz2 format), just did it for me so I moved back to Vuze... A lot say Vuze is a memory hog, but compare it to ktorrent, and you'll see it'll never swap (not even when downloading 4 big torrents at the same time)

  5. #5

    Default Re: Excessive RAM consumption in 11.2

    I suspect that much of it may be cached memory, but I'm not sure yet. As well as allowing you to set its scale, the graph that I used to have in KDE 3 showed what memory was actually being used and what was just cache. Like most of the stuff I used to use in KDE3, it seems that the KDE4 equivelants are either crippled or just gone. The memory graph in KDE4 now is just a single-colour blob.

    Surely if most of it was just cache, though, I wouldn't be having to start eating into my swap so soon. I think I've only ever significantly eaten into my swap memory 4 simes since I started using Suse (at version 9.0). Now, my first time on 11.2 with just two programs running and I'm immediately eating into swap. I've never had any problems with Ktorrent before, but I don't have any programs running when I'm checking out the memory usage anyway.

    I don't have much time to test anything out today, but I'll hopefully post back tomorrow with some more info.

  6. #6

    Default Re: Excessive RAM consumption in 11.2

    Quote Originally Posted by Stephen_Philbin View Post
    ...
    Surely if most of it was just cache, though, I wouldn't be having to start eating into my swap so soon. ...
    This is a valid point, depending of course on how the modern kernel decides to allocate stuff. I'm not actually sure that it refuses to use swap when memory is available - it may decide that swap is more suited to some tasks. You can of course change its behaviour with 'swappiness'.

    Run 'free -tm' to get a good idea of how much memory is actually free (as in not in use as cache) - second row, third column.

  7. #7

    Default Re: Excessive RAM consumption in 11.2

    I had the exact same issue. I found with 'top' that python consumed 15-20% of my CPU time. The reason was 'screenlets'. I removed screenlets and things are fine now.

  8. #8

    Default Re: Excessive RAM consumption in 11.2

    Forgive my ignorance, but what is 'screenlets?' What does it do and is it needed?

  9. #9

    Default Re: Excessive RAM consumption in 11.2

    Screenlets is a gnome widget layer - and it won't be installed unless you deliberately installed it.

  10. #10
    Eric_linux_sap NNTP User

    Arrow Re: Excessive RAM consumption in 11.2

    on my desktop, with 11.2,
    Got 4 GB of RAM used up to 91%
    plus 4 GB of swap, randomly used to 20%

    on my Laptop, also with 11.2
    Got 2GB of RAM used up to 96%
    Got 2.4GB of swap randomly used to 12%

    Looks like 11.2 go easy on RAM mangement and use whatever is available ....

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •