Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
500MB of memory used in KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Thu Aug 04, 2005 3:30 am    Post subject: 500MB of memory used in KDE Reply with 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.

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
View user's profile Send private message
zerojay
Veteran
Veteran


Joined: 09 Aug 2003
Posts: 1033

PostPosted: Thu Aug 04, 2005 6:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Thu Aug 04, 2005 6:54 am    Post subject: Reply with quote

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
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sat Aug 06, 2005 4:52 am    Post subject: Reply with quote

I did

Code:

cat /proc/meminfo


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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sat Aug 06, 2005 5:30 am    Post subject: Reply with quote

I've got 512 MB of RAM in my machine (it'd be a gigabyte if the mobo's second DIMM channel worked :x). 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
View user's profile Send private message
Rapsey
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2004
Posts: 87

PostPosted: Sat Aug 06, 2005 6:10 am    Post subject: Reply with quote

Dont worry about it. Run something memory intensive like a computer game and you will see that it works fine.
Back to top
View user's profile Send private message
Hurukan
n00b
n00b


Joined: 07 Aug 2005
Posts: 2

PostPosted: Sun Aug 07, 2005 5:57 am    Post subject: Reply with quote

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 8)

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
View user's profile Send private message
Rapsey
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2004
Posts: 87

PostPosted: Sun Aug 07, 2005 6:16 am    Post subject: Reply with quote

No it is not and it has been explained why.
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Sun Aug 07, 2005 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Hurukan
n00b
n00b


Joined: 07 Aug 2005
Posts: 2

PostPosted: Sun Aug 07, 2005 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rapsey
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2004
Posts: 87

PostPosted: Sun Aug 07, 2005 3:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum