[gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Nikos Chantziaras

On 09/18/2010 05:45 PM, Florian Philipp wrote:

Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime during
which the system was on standby most of the time during work days and at
night.

free -m
  total  used  free  shared  buffers  cached
Mem:  3754  3588   165   0   57 258
-/+ buffers/cache:  3271   482
Swap: 6142   978  5163


That looks bad.  I suspect it's the semantic desktop thingy that's at 
fault (I guess it's database and indexing service must eat tons of RAM), 
since I have it disabled and this is how it looks here after 5 days uptime:


 total   used   free sharedbuffers cached
Mem:  5973   3534   2438  0   1056   1685
-/+ buffers/cache:793   5179
Swap:  917  0917

(The important value is -/+ buffers/cache:  793)

This is with KDE 4.5.1 and semantic-desktop USE flag disabled.




[gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Nikos Chantziaras

On 09/19/2010 11:25 AM, Alan McKinnon wrote:

Apparently, though unproven, at 16:45 on Saturday 18 September 2010, Florian
Philipp did opine thusly:


Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime during
which the system was on standby most of the time during work days and at
night.

free -m
  total  used  free  shared  buffers  cached
Mem:  3754  3588   165   0   57 258
-/+ buffers/cache:  3271   482
Swap: 6142   978  5163
[...]


Like I posted in another thread today, the memory columns in top do not mean
what most people think they mean, nor are they simplistic.


However, the values reported by free -m are somewhat useful and 
indicate that something is very wrong with memory consumption on his system.





Re: [gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Dale

Nikos Chantziaras wrote:

On 09/19/2010 11:25 AM, Alan McKinnon wrote:
Apparently, though unproven, at 16:45 on Saturday 18 September 2010, 
Florian

Philipp did opine thusly:


Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime during
which the system was on standby most of the time during work days 
and at

night.

free -m
total  used  free  shared  buffers  cached
Mem:  3754  3588   165   0   57 258
-/+ buffers/cache:  3271   482
Swap: 6142   978  5163
[...]


Like I posted in another thread today, the memory columns in top do 
not mean

what most people think they mean, nor are they simplistic.


However, the values reported by free -m are somewhat useful and 
indicate that something is very wrong with memory consumption on his 
system.




This is my free -m:

r...@smoker / # free -m
total   used   free shared
buffers cached

Mem:  2024   1934 89  0380657
-/+ buffers/cache:  896   1127
Swap:  478  0 478
r...@smoker / #

I have less memory installed but if I understand this correctly, I have 
more trouble than he does.  This install is a few years old and my rig 
is several years old.  It's been doing fine so far.  I'm also using the 
same KDE.


Currently running, KDE, Seamonkey and a nice emerge of a video package.  
The compile process is using the most memory at the moment.


Dale

:-)  :-)



[gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Nikos Chantziaras

On 09/19/2010 12:15 PM, Dale wrote:

Nikos Chantziaras wrote:

On 09/19/2010 11:25 AM, Alan McKinnon wrote:

Apparently, though unproven, at 16:45 on Saturday 18 September 2010,
Florian
Philipp did opine thusly:


Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime during
which the system was on standby most of the time during work days
and at
night.

free -m
total used free shared buffers cached
Mem: 3754 3588 165 0 57 258
-/+ buffers/cache: 3271 482
Swap: 6142 978 5163
[...]


Like I posted in another thread today, the memory columns in top do
not mean
what most people think they mean, nor are they simplistic.


However, the values reported by free -m are somewhat useful and
indicate that something is very wrong with memory consumption on his
system.



This is my free -m:

r...@smoker / # free -m
total used free shared buffers cached
Mem: 2024 1934 89 0 380 657
-/+ buffers/cache: 896 1127
Swap: 478 0 478
r...@smoker / #

I have less memory installed but if I understand this correctly, I have
more trouble than he does.


Why?  It reports 896MB usage vs 3271MB in Florian's system.  Looks 
pretty normal to me.





Re: [gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Dale

Nikos Chantziaras wrote:

On 09/19/2010 12:15 PM, Dale wrote:

Nikos Chantziaras wrote:

On 09/19/2010 11:25 AM, Alan McKinnon wrote:

Apparently, though unproven, at 16:45 on Saturday 18 September 2010,
Florian
Philipp did opine thusly:


Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime 
during

which the system was on standby most of the time during work days
and at
night.

free -m
total used free shared buffers cached
Mem: 3754 3588 165 0 57 258
-/+ buffers/cache: 3271 482
Swap: 6142 978 5163
[...]


Like I posted in another thread today, the memory columns in top do
not mean
what most people think they mean, nor are they simplistic.


However, the values reported by free -m are somewhat useful and
indicate that something is very wrong with memory consumption on his
system.



This is my free -m:

r...@smoker / # free -m
total used free shared buffers cached
Mem: 2024 1934 89 0 380 657
-/+ buffers/cache: 896 1127
Swap: 478 0 478
r...@smoker / #

I have less memory installed but if I understand this correctly, I have
more trouble than he does.


Why?  It reports 896MB usage vs 3271MB in Florian's system.  Looks 
pretty normal to me.




I THINK I read he was up for about 8 days.  I had just booted up a 
little bit ago.  Looking at the Mem line, I am using almost all of my 
memory already.  I was also keeping in mind that the OP has about double 
the memory that I have.  I'm just not sure what exactly is wrong with 
his either.  It was more of a question than anything.


He is using a lot of swap but that can be adjusted by setting the 
swappiness file with a lower value IF he wants to do that.  I have mine 
set to 20 or so.  I prefer to keep as much in memory as possible but at 
the same time, I don't want to crash if say GIMP gets a little memory 
hungry when I open 300 images all at once.  I did that once.  It took a 
while.  lol


I was always told that Linux uses memory a lot better than most other 
OS's especially M$.  Cache as much as possible and run faster which 
means it will use all the memory at some point.  Mine does that way and 
always has.   Since the kernel handles all this, I'm not sure what the 
OP can do to fix anything unless it is a kernel bug.  Then a upgrade may 
be the sure.  I guess?


Dale

:-)  :-)



Re: [gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Alan McKinnon
Apparently, though unproven, at 10:54 on Sunday 19 September 2010, Nikos 
Chantziaras did opine thusly:

 On 09/19/2010 11:25 AM, Alan McKinnon wrote:
  Apparently, though unproven, at 16:45 on Saturday 18 September 2010,
  Florian
  
  Philipp did opine thusly:
  Hi list!
  
  I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
  breakfast. Directly after booting, everything is okay but the usage
  grows significantly. I wonder whether this is expected behavior.
  
  The following statistics have been taken after 8 days of uptime during
  which the system was on standby most of the time during work days and at
  night.
  
  free -m
  
total  used  free  shared  buffers  cached
  
  Mem:  3754  3588   165   0   57 258
  -/+ buffers/cache:  3271   482
  Swap: 6142   978  5163
  [...]
  
  Like I posted in another thread today, the memory columns in top do not
  mean what most people think they mean, nor are they simplistic.
 
 However, the values reported by free -m are somewhat useful and
 indicate that something is very wrong with memory consumption on his
 system.


What specific numbers and what appears to be out of place?



-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: KDE ridiculous memory usage

2010-09-19 Thread Nikos Chantziaras

On 09/19/2010 01:12 PM, Alan McKinnon wrote:

Apparently, though unproven, at 10:54 on Sunday 19 September 2010, Nikos
Chantziaras did opine thusly:


On 09/19/2010 11:25 AM, Alan McKinnon wrote:

Apparently, though unproven, at 16:45 on Saturday 18 September 2010,
Florian

Philipp did opine thusly:

Hi list!

I have a bit of a problem. I'm on KDE-4.4.5 and it eats memory for
breakfast. Directly after booting, everything is okay but the usage
grows significantly. I wonder whether this is expected behavior.

The following statistics have been taken after 8 days of uptime during
which the system was on standby most of the time during work days and at
night.

free -m

   total  used  free  shared  buffers  cached

Mem:  3754  3588   165   0   57 258
-/+ buffers/cache:  3271   482
Swap: 6142   978  5163
[...]


Like I posted in another thread today, the memory columns in top do not
mean what most people think they mean, nor are they simplistic.


However, the values reported by free -m are somewhat useful and
indicate that something is very wrong with memory consumption on his
system.



What specific numbers and what appears to be out of place?


This:

-/+ buffers/cache:  3271   482