|
|
|
|
|
by dear
4569 days ago
|
|
Anyone with memory problem with Firefox? My FF is currently using 2G memory while I only have 13 tabs opened and most of them are just plain simple pages. I am sure it will keep sucking up memory until I do restart. This problem is not new. Is there a memory leak problem with FF? |
|
For example right now my Firefox 26 with about 20 tabs is being reported by "top" as using 2190MB VIRT and ~1030MB RES. VIRT reports the total amount of memory allocated, including memory that's shared between processes, including memory-mapped files, including virtual memory, including the loaded shared libraries, or anything that takes up address space, but address space is not real, the measure is next to useless. RES is the relevant measure, which in my case reports about 1 GB, however that's a little misleading too because it also counts memory that's shared between processes, although in my case I think 1 GB is an accurate measure. And if you're using some kind of GUI that doesn't specify exactly how it calculates memory consumption, then you can't trust what it says.
Second, free memory is unused memory. Browsers are caching stuff for example. Unused caches in memory-strained systems end up being flushed to disk. The kernel is quite efficient in flushing memory pages on disk and reloading them later when needed. That's why it's very hard to tell how much memory a process needs to be usable.
If you want to claim that some application leaks memory, then you need to look at growth. And if you want to claim that it's a memory hog, then you need to take a look at how it behaves on top of memory constrained systems.
In my experience, Firefox is very memory efficient, which is why I'm using it and not Chrome. And I'm on the beta channel now, so I've been on Firefox 26 since a week ago and it's OK.