Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Abusive memory usage through X server

0 views
Skip to first unread message

Francis Giraldeau

unread,
Sep 11, 2006, 12:09:23 PM9/11/06
to dev-apps...@lists.mozilla.org
Hi,

It seems that Firefox uses a lot of RAM through X server (xorg) under
Linux, when many pages with graphics are opened in tabs, even with
optimisations discussed here :

http://kb.mozillazine.org/Reducing_memory_usage_(Firefox)

With linux terminals (like LTSP) the memory used by the X server is
realy an issue, because it can (and will) crash the terminal. The memory
on a terminal is usualy low, and swap by network should be avoided to
prevent network staturation.

Firefox, konqueror, and Mozilla all have this behavior. The only one
that perform well is Opera. The RAM used through X server by this
browser seems to be constant, no matter the number of simultaneous tabs
opened.

Is there any way to avoid this kind of memory problem with Firefox?

Thanks,

--
Francis Giraldeau, Ing jr.
Revolution Linux
819-780-8955 poste *1111

Toutes les opinions et les prises de position exprimees dans ce courriel
sont celles de son auteur et ne representent pas necessairement celles
de Revolution Linux

Any views and opinions expressed in this email are solely those of the
author and do not necessarily represent those of Revolution Linux

Tim Howe

unread,
Sep 11, 2006, 4:05:33 PM9/11/06
to
Francis Giraldeau <francis....@revolutionlinux.com> writes:

> It seems that Firefox uses a lot of RAM through X server (xorg) under
> Linux, when many pages with graphics are opened in tabs, even with
> optimisations discussed here :

Not just RAM, but bandwidth. Mozilla apps and Java/Swing are the
absolute worst at running remotely. Some of the Mozilla stuff seems
like it might be able to be optimized away through parallelization,
since I see (just looking at a bandwidth meter) lots of tiny
back-and-forth between the client and the server before the first window
ever even pops up.

Strangely, once a window is mapped interactions with it don't seem out
of the ordinary. Obviously room for improvement, but nothing like at
startup or when a new window is created.

I'd love to assist in tracking this down and improving it but I'd have
no idea where to start. Any ideas? Is anyone already looking into
this?

--
vsync
http://quadium.net/
If addiction is judged by how long a dumb animal will sit pressing a lever
to get a "fix" of something, to its own detriment, then I would conclude
that netnews is far more addictive than cocaine.
-- Rob Stampfli

0 new messages