• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Firefox and YOUR ram usage.

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
I'm not bothered it uses more ram. I'm just bothered that at times I am only left with 50-80mb or even down to 20mb of ram and stuff runs slow then.

I do have 'only' 512mb though.

Crazy thing is I haven't browsed for a few hrs (was in bed asleep) and now I have 293mb free! FF says it is only using 79mb in Task Manager.

Thanks a lot Drag and everyone else in this th read 😀

Koing
 
Note that Mozilla (and I believe Firefox) will force a garbage collect on their GC objects if you close a window - try opening a new window and then closing it (there are other ways to trigger a garbage collect, but this is the only manual one I know).
 
I'll try that CTho9305

Now I have 309mb of ram free. I guess it clears stuff out when not in use but last night nothing was cleared for ages.

Koing
 
Originally posted by: Nothinman
But isn't VM usage similar to pagefile usage?

No. The problem is that MS misuses the term all over their UI and it gives a false impression about that being true. The short answer is : VM usage is just address usage, there's no correlation to physical memory or pagefile usage.

The long answer is : Virtual Memory has been discussed on this forum many times, I've probably written what it is at least a half dozen. Basically Virtual Memory is, as the name suggests, nothing more than the virutalization of memory addresses. Each process has a set VM space of 4G, 2G worth of those addresses are reserved by the Windows kernel and 2G are available to the process. Since most people don't have 4G of physical memory available those 4G worth of addresses are mapped to different real physical addresses by the OS with asstance from a hardware MMU, sometimes the VM address points to something that's shared like a library or shared memory mapping, sometimes it points to private data and sometimes it points to nothing. When it points to nothing this causes a page fault and causes the OS to either figure out what the process wanted and page it in from disk or kill the process for attempting to access invalid memory. In the common case of paging the data in from disk, it could be on a normal file like the executable itself or in the pagefile or any other place the OS could be setup to page in from.

Everything causes VM usage, running an app causes VM to be used because the process needs a new VM for it's instance, it needs addresses for the executable, it needs addresses for any libararies it requires whether they're in memory already or not, it needs addresses for any misc mmap()'d files that process uses, etc. It would be trivially easy to write an app that would startup, use 2G of VM and do absolutely nothing.
So the whole task manager memory graph is useless then?
 
Originally posted by: kamper
With all these threads about how much memory firefox uses I wonder which numbers people report. The windows task manager gives you both "Mem Usage" and "VM Size" which are somewhat different things. You'll notice that when you minimize firefox and it cuts its memory usage way down the VM Size doesn't go down, but it's the VM number that counts towards the total PF Usage you see on the graph. I suppose we could have a discussion on which number you should report but for now I'm just curious, which number are you guys reporting?

^^ "VM Size" is the most accurate representation of the memory that any particular process would use.
 
Originally posted by: superspacey
surf around for awhile, my memory usage gets huge! 100+ easy
oh well..

Yup I think it is that.

When you surf about everything just builds up until FF flush's it out or something. IE didn't do this but I was careful with spyware and stuff popping up. Father less so, so I have gotten him to use FF on the other pc also. No useless crap being 'accidently' installed on it 🙂

I am using 1024MB of ram now and ahve 340Mb free. FF using 202MB. I have ordered some 2x512MB to go with my 2x256MB so that should definatley be more then enough 🙂

Koing
 
Surely the RAM usage is very high, but the bigger problem is that it also consumes a lot of page file space. This causes a lot of page faults and hence hard disk access. FF is way too slow. THis is the primary reason that I have switched back to IE.
 
Originally posted by: Nothinman
This causes a lot of page faults and hence hard disk access. FF is way too slow.

Page faults don't necessarily mean disk access and FF is not slow on my machine.

So through what other mechanism are page faults dealt with?? May be I was a bit wrong there.
 
Page faults can also be satisfied by data in memory. For instance, if one program loads up blah.dll then a second program starts and needs the same library it won't be mapped into that processes address space so it'll page fault, but since it's already in memory the OS will just map the original copy into the second processes address space and let it continue running. Same thing for any type of file that's being stored in the filesystem cache.
 
i'm bumping this thread up because i want to try to eliminate the heavy ram firefox is consuming at the present time (167MB -- it's light today)...

is there are good solution to this, or should i go here?

i want my FF performance to remain the same (or improve). but i don't want to lose FF performance by modifying my user.js file.

hints, tips, tricks -- anyone?
 
Originally posted by: tami
i'm bumping this thread up because i want to try to eliminate the heavy ram firefox is consuming at the present time (167MB -- it's light today)...

is there are good solution to this, or should i go here?

i want my FF performance to remain the same (or improve). but i don't want to lose FF performance by modifying my user.js file.

hints, tips, tricks -- anyone?

Um, what else are you going to use that ram on?
 
Originally posted by: n0cmonkey
Originally posted by: tami
i'm bumping this thread up because i want to try to eliminate the heavy ram firefox is consuming at the present time (167MB -- it's light today)...

is there are good solution to this, or should i go here?

i want my FF performance to remain the same (or improve). but i don't want to lose FF performance by modifying my user.js file.

hints, tips, tricks -- anyone?

Um, what else are you going to use that ram on?

when my system slows to a crawl and it's FF related (i was viewing a slideshow last night and my FF ram jumped up to 1GB), i need to do something.
 
Back
Top