473,669 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why does Firefox use 47 MB of RAM?

I just did a "ps aux" on my Linux system and realized that
Firefox uses a massive 47 MB of RAM, and Thunderbird
uses an amazing 45 MB. I don't have a "hot rod" P4 computer
so perhaps this is all the more alarming to me, but
something seems to have gone wrong, I think. These are
programs that deal with piddling amounts of user data,
yet there so big!

I know that a good chunk of each is just shared
libraries, or so I infer because it seems to say that
the intrinsic usage is more like 25 MB each, but still...
25 megabytes is a lot of memory.

Just what the heck is all that RAM being used for
anyway?

And how has it come to this, that software that
deals with mere tens or hundreds of kilobytes of actual
user data somehow requires tens of megabytes of memory
to process it?

And I know what some will say, oh, the Windoze
and the Macintosh applications use the same
amount of memory... Well that doesn't justify it
in my view. Three examples of bad engineering
(or no engineering at all, I should say) don't make
it right.

Dec 26 '05 #1
22 1956
On a sunny day (26 Dec 2005 06:28:32 -0800) it happened "Questioner "
<x6***@yahoo.co m> wrote in
<11************ **********@g49g 2000cwa.googleg roups.com>:
I just did a "ps aux" on my Linux system and realized that
Firefox uses a massive 47 MB of RAM, and Thunderbird
uses an amazing 45 MB. I don't have a "hot rod" P4 computer
so perhaps this is all the more alarming to me, but
something seems to have gone wrong, I think. These are
programs that deal with piddling amounts of user data,
yet there so big! Not to worry,. it will all be swapped out to disk :-)
On the Duron 950
top
Mem: 386780K av, 382692K used, 4088K free, 0K shrd, 8184K buff
Swap: 530104K av, 176208K used, 353896K free 181920K cached

hehe
I know that a good chunk of each is just shared
libraries, or so I infer because it seems to say that
the intrinsic usage is more like 25 MB each, but still...
25 megabytes is a lot of memory. The 2 GB chip is out from Samsung and some others, 8 of these make 2GByte.
2000 / 25 = 80 Firefoxes..
This is likely the way of thinking, remember Billy The Gates claiming:
'640 KILO Byte should be enough for anyone?'
Price per bit is going way down....
Just what the heck is all that RAM being used for
anyway? my_memory = (char*) malloc(25000000 );
?

And how has it come to this, that software that
deals with mere tens or hundreds of kilobytes of actual
user data somehow requires tens of megabytes of memory
to process it? yea, look how long it takes to render some html pages....

And I know what some will say, oh, the Windoze
and the Macintosh applications use the same
amount of memory... Well that doesn't justify it
in my view. Three examples of bad engineering
(or no engineering at all, I should say) don't make
it right.

Aha, well, many years ago I thought:
'mm maybe I should write my own webbrowser'.
Some related routines are in NewsFleX newsreader (I wrote), but I learned
really fast: That writing a good webbrowser is a lifetime project....
And some already are at it....
You can join them or improve, it is open source.
Something Win XP / exploder users cannot do.
But considering that cost per byte thingy, make sure your time adds up to
enough saving....

Dec 26 '05 #2
mst
On 26 Dec 2005 06:28:32 -0800 "Questioner " <x6***@yahoo.co m> wrote:

[snip]
And I know what some will say, oh, the Windoze
and the Macintosh applications use the same
amount of memory... Well that doesn't justify it
in my view. Three examples of bad engineering
(or no engineering at all, I should say) don't make
it right.


http://www.neowin.net/forum/index.php?showtopic=407044
http://developers.slashdot.org/artic.../11/25/1817215

--
remove MYSHOES to email
Dec 26 '05 #3

Jan Panteltje wrote:
Aha, well, many years ago I thought:
'mm maybe I should write my own webbrowser'.
Some related routines are in NewsFleX newsreader (I wrote), but I learned
really fast: That writing a good webbrowser is a lifetime project....
And some already are at it....
You can join them or improve, it is open source.
I tried that myself. HTML is bad enough, I got it mostly working,
but adding Javascript would have taken real dedication.
I try to use Dillo when I am viewing simple pages. It's *much*
faster than Firefox on my older system.
But considering that cost per byte thingy, make sure your time adds up to
enough saving....


Yeah, but meanwhile, the landfills are filling up with our toxic
electronic waste, leaching it into our water supply etc.

Dec 26 '05 #4
On a sunny day (26 Dec 2005 07:29:51 -0800) it happened "Viator"
<x6***@yahoo.co m> wrote in
<11************ *********@g49g2 000cwa.googlegr oups.com>:
Yeah, but meanwhile, the landfills are filling up with our toxic
electronic waste, leaching it into our water supply etc.

Not to worry, that will all disappear in the background noise once the
WW3 nukes start flying in April (accourding to Dr. Sarfatti).
Dec 26 '05 #5
Panteltje a dit:
Not to worry, that will all disappear in the background noise once the
WW3 nukes start flying in April (accourding to Dr. Sarfatti).


Oh, no. Not that idiot again. He came and did a presentation
at our Mensa group a couple years ago. I don't remember
the topic, but everyone pretty much picked apart his bogus
argumentation, showing he was full of it but in a polite way,
and then rather than admit he was wrong, he started acting petty
and issuing ad hominem attacks.

That isn't to say that WW3 isn't possible, but to pretend
Sarfatti has a clue about the how/why/when/who would
be too generous.

Dec 26 '05 #6
Questioner wrote:

Just what the heck is all that RAM being used for
anyway?


First look through /proc/%d/maps to see how much
is used for memory mappings and how much are
anonymous allocations. If you think there is too
much anonymous memory, then you will need to go
hunting in the source.

--
Kasper Dupont
Note to self: Don't try to allocate
256000 pages with GFP_KERNEL on x86.
Dec 26 '05 #7
On a sunny day (26 Dec 2005 11:14:44 -0800) it happened "Questioner "
<x6***@yahoo.co m> wrote in
<11************ **********@o13g 2000cwo.googleg roups.com>:
Panteltje a dit:
Not to worry, that will all disappear in the background noise once the
WW3 nukes start flying in April (accourding to Dr. Sarfatti).


Oh, no. Not that idiot again. He came and did a presentation
at our Mensa group a couple years ago. I don't remember
the topic, but everyone pretty much picked apart his bogus
argumentatio n, showing he was full of it but in a polite way,
and then rather than admit he was wrong, he started acting petty
and issuing ad hominem attacks.

That isn't to say that WW3 isn't possible, but to pretend
Sarfatti has a clue about the how/why/when/who would
be too generous.

Here:
http://groups.google.com/group/sci.s...d9adfc98ec9443

He has also made it clear he was contacted by Aliens when young,
and I think he has been through a wormhole and came back before he left,
so he should know...

Some of us think Jack was victim of a student joke when that 'alien' called
him on the phone.....
Still he keeps it all up and has been for so many years, probably it sells.
Cannot believe he really believes in his own stuff, but of cause statistically
speaking he will be right some times.
And statistics get really weird once you have traveled back in time.....

Dec 26 '05 #8

"Questioner " <x6***@yahoo.co m> wrote in message
news:11******** **************@ g49g2000cwa.goo glegroups.com.. .
I just did a "ps aux" on my Linux system and realized that
Firefox uses a massive 47 MB of RAM, and Thunderbird
uses an amazing 45 MB. I don't have a "hot rod" P4 computer
so perhaps this is all the more alarming to me, but
something seems to have gone wrong, I think. These are
programs that deal with piddling amounts of user data,
yet there so big!


How did you determine that Firefox was using 47MB of RAM (physical
memory)? Are you sure it wasn't just usaing 47Mb of virtual memory?

DS
Dec 27 '05 #9
Questioner wrote:
Panteltje a dit:
Not to worry, that will all disappear in the background noise once the
WW3 nukes start flying in April (accourding to Dr. Sarfatti).


Oh, no. Not that idiot again. He came and did a presentation
at our Mensa group a couple years ago. I don't remember
the topic, but everyone pretty much picked apart his bogus
argumentation, showing he was full of it but in a polite way,
and then rather than admit he was wrong, he started acting petty
and issuing ad hominem attacks.

That isn't to say that WW3 isn't possible, but to pretend
Sarfatti has a clue about the how/why/when/who would
be too generous.

One plausible scenario is : "Arc Light" by Eric Harry
Its fiction but you can just see it happening, well written and
you wont be able to put it down.
Eric (no its not by me)

Editorial Reviews
From Publishers Weekly
In a scenario terrifyingly close to today's headlines, Harry's debut novel
opens with a North Korean invasion of South Korea that leads, through a
series of tragic errors and decisions, to a Russian nuclear attack on
military bases in the U.S. Like techno-thriller master Tom Clancy, Harry
offers a sprawling narrative that focuses on a small army of soldiers,
politicians and their families, American and Russian. National Security
Advisor Greg Lambert must keep and tell secrets that may lead to
Armageddon; Reservist David Chandler must leave his pregnant wife in order
to drive a tank; U.S. President Walter Livingston, eager for peace, must
endure the ignominy of impeachment; Russian General Yuri Razov must deal
with the consequences of his initial decision to launch nuclear missiles.
Ground, air and submarine battles alternate with scenes of anarchy
stateside as exhausted leaders are forced to make instant decisions that
might snuff out humanity forever. With a masterful grasp of military
strategy and geopolitics, Harry moves his characters through nightmares of
blood and death; his intricately detailed scenes of nuclear devastation are
particularly horrifying. Told through a series of rapid-fire climaxes, this
novel, a political and military cautionary tale of considerable power and
conviction, will keep readers riveted.

Dec 28 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2904
by: sonnystarks | last post by:
Page construction in progress: http://www.sdisplay.info/test/ Firefox does not recognize background image referred to on styles.css IE sees it with no problem. What is the problem? Thanx,
11
3426
by: minnesotti | last post by:
Hi there, I subscribed to a photographic pictures-hosting website which is heavy on JavaScript. My preferred latest browser Mozilla Firefox does not work with it -- no pictures are displayed and no buttons react to clicking. The website's helpdesk says it should work with Firefox, and could not offer any more advices. The JavaScript Console shows that there are numerous errors occuring. It looks like the web browser does not recognise...
5
77605
by: antonyliu2002 | last post by:
Hi, It looks like so many people are having problems with the javascript submit in firefox. I searched around, but haven't found a solution yet. Mostly, people were saying, try this or try that or maybe blah blah or why do you wanna do that blah blah. I haven't seen a solution to this problem. OK, I am trying to share session objects between classic asp applications and asp.net applications. If you insist in asking why I
7
4644
by: Xah Lee | last post by:
Look at this page http://xahlee.org/emacs/wrap-url.html Look at it in Firebox, look at it in Safari, in Opera, and look at it in Microsoft Internet Explorer. The only fucked up case, is Firefox. Namely, that it does not respect the font used when dealing with «width:80ex». The way to test this visually, is by this code: <pre style="border:thin black solid;
10
691
by: Xah Lee | last post by:
Look at this page http://xahlee.org/emacs/wrap-url.html Look at it in Firebox, look at it in Safari, in Opera, and look at it in Microsoft Internet Explorer. The only fucked up case, is Firefox. Namely, that it does not respect the font used when dealing with «width:80ex». The way to test this visually, is by this code: <pre style="border:thin black solid;
0
8465
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8383
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8658
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4206
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2797
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2032
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.