On Tue, 2007-01-16 at 12:27 +0200, Nadav Har'El wrote:
> Of course, my own solution is simple: I don't use neither Gnome, nor KDE. I
> hand-pick individual applications which I like.
Not an option for me, but thanks for the offer :). I like to have my
apps tightly integrated.
> > X is here for reference - it takes up ~200 - 250MB of virtual and it has
> > the excuse that it needs to be big.
> The "RES" figure is the amount of memory that the program now currently uses.
> You can see that the X server actually uses much less memory than that VIRT
> figure.
As I've said - I use X as a reference to something which has a big VIRT,
makes sense that has a big VIRT and its ok that it has a big VIRT
(because it holds image buffers, and maps large chunks of memory from
the graphics adapter). I'm saying that it makes no sense for software
which is much less complex then X to take as much as X.
> > lets look at the stuff that take
> > about the same amount of virtual:
> > 3170 odeda 18 0 204M 17932 6556 S 0.0 0.5 3:52.88 nautilus
> > --sm-config-prefix /nautilus-wyDKQV/ --s
> What can explain huge VIRT size and small RES figure at the same time?
>
> I can offer several possibilities - I don't know which of these applies to
> Nautilus (or your other examples):
>
> 1. Software which only knows how to grow, but not shrink. ... All this
> unused memory wasted space in the swap, but doesn't waste RAM.
My problem is not wasted RAM - its over-used swap. I'm aware of the
problem with Firefox (and any Java program), so I wasn't going to
mention them. I really hope that GNOME doesn't have that problem.
> 2. Programs which uses a lot of threads.
GNOME programs are usually very light on threads. I don't see any reason
for an applet to use more then a thread or two.
> 3. Programs which use a lot of shared libraries.
Unless I'm mistaken, shared libraries are counted in the SHR section,
which is relatively small for GNOME programs - less then 20MB.
Assuming its not (2) or (3) - does it has to be (1) (programs that don't
free memory) ? I was always under the assumption that GNOME programs are
more in touch with the UNIX way of doing things ("the one true way"),
and their programs would not suffer from the same issues as Firefox and
Sun's JVMs.
--
Oded
::..
What boots up must come down.
-- Net Philosophies
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]