View previous topic :: View next topic |
Author |
Message |
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Thu Aug 04, 2005 3:30 am Post subject: 500MB of memory used in KDE |
|
|
When KDE is idling, no other programs running at all, 500mb of my memory is being used. I only have 512mb, so this cripples my system.
The programs that are using 100 mb are
kded
knotify
kicker
kdesktop
ksysguard
kdeinit
klipper
And the list goes on......... All my programs using 50 + mb!!
How do I get these programs to stop killing my system?
Another problem is amarok using up 212 mb. |
|
Back to top |
|
|
zerojay Veteran
Joined: 09 Aug 2003 Posts: 1033
|
Posted: Thu Aug 04, 2005 6:08 am Post subject: |
|
|
Um.. are you sure they are actually using that much and they aren't just used by buffers and cache? Linux will always try to use all available RAM at all times because otherwise, it's just wasted and doing nothing. |
|
Back to top |
|
|
Pseud Apprentice
Joined: 19 Mar 2004 Posts: 273 Location: Bangalore, India
|
Posted: Thu Aug 04, 2005 6:54 am Post subject: |
|
|
Like DarkStalker said, are you sure its the apps using up all the RAM? Its perfectly normal for the system to be using up most of the RAM if a significant portion of it is being used as disk cache. The easiest way is to check with Kmenu->System->KInfoCenter->memory _________________ eschew obfuscation |
|
Back to top |
|
|
avieth Veteran
Joined: 17 Sep 2004 Posts: 1945 Location: Canada
|
Posted: Sat Aug 06, 2005 4:52 am Post subject: |
|
|
I did
And it shows the 500 mb use also, I hope its not actually being used. If it isnt, is there anyway to stop this from happening? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sat Aug 06, 2005 5:30 am Post subject: |
|
|
I've got 512 MB of RAM in my machine (it'd be a gigabyte if the mobo's second DIMM channel worked ). Right now with lots of apps open I'm using up all of it and a few megabytes of swap, but according to the output of `free -m`, about 260 MB of that is caches and buffers. As mentioned, Linux's memory management subsystem is extremely aggressive. If you have the RAM, Linux will use it. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Rapsey Tux's lil' helper
Joined: 01 May 2004 Posts: 87
|
Posted: Sat Aug 06, 2005 6:10 am Post subject: |
|
|
Dont worry about it. Run something memory intensive like a computer game and you will see that it works fine. |
|
Back to top |
|
|
Hurukan n00b
Joined: 07 Aug 2005 Posts: 2
|
Posted: Sun Aug 07, 2005 5:57 am Post subject: |
|
|
Quote: | When KDE is idling, no other programs running at all, 500mb of my memory is being used. I only have 512mb, so this cripples my system. |
Well, I got the same problem since I have a 64 bits processor and that I use KDE 3.4.1
I have 1Gigabit of memory and sometimes (I can't clearly locate when :/) those programs use all the memory of the system :/
So generally, on my system, kicker use 600 M of memory, kded 200M, and kdeinit/knotify 80M
I usually kill kicker, but that's not the good solution
Quote: | Dont worry about it. Run something memory intensive like a computer game and you will see that it works fine. |
That's clearly a bug, but that's hard to know why it happens
And it looks like to happen randomly after 6-7 hours of KDE use for me |
|
Back to top |
|
|
Rapsey Tux's lil' helper
Joined: 01 May 2004 Posts: 87
|
Posted: Sun Aug 07, 2005 6:16 am Post subject: |
|
|
No it is not and it has been explained why. |
|
Back to top |
|
|
DarrenM l33t
Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Sun Aug 07, 2005 6:38 am Post subject: |
|
|
The best command to use is 'free'
Code: |
$ free
total used free shared buffers cached
Mem: 516792 510952 5840 0 87280 248164
-/+ buffers/cache: 175508 341284
Swap: 506008 680 505328
|
The 2nd number on the 2nd line (341284) shows how much is actually free once you remove the buffers and cache (like file cache). That's how much is actually available for apps to use.
If you want to see it in action, reboot your machine. There should now be plenty in the 'free' column on the first line. Run 'find /' followed by free again. You will see the file cache take all the available memory but the figure on the 2nd line won't change much. When an app actually needs the memory, it is relinquished from the cache. |
|
Back to top |
|
|
Hurukan n00b
Joined: 07 Aug 2005 Posts: 2
|
Posted: Sun Aug 07, 2005 12:13 pm Post subject: |
|
|
Quote: | As mentioned, Linux's memory management subsystem is extremely aggressive. If you have the RAM, Linux will use it. |
Yes, I know that, but that's not the case, I maintain it's a bug.
Quote: | No it is not and it has been explained why. |
It's a bug because, Kicker takes 600M and is frozen
You can't use it anymore, but the others applications are ok |
|
Back to top |
|
|
Rapsey Tux's lil' helper
Joined: 01 May 2004 Posts: 87
|
Posted: Sun Aug 07, 2005 3:49 pm Post subject: |
|
|
wait now. You are hijacking someones thread to whine about your problems and then being a smart ass, when what we are saying doesnt apply to you? |
|
Back to top |
|
|
|