Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu User (http://www.linux-archive.org/ubuntu-user/)
-   -   Firefox needs too much memory (http://www.linux-archive.org/ubuntu-user/590062-firefox-needs-too-much-memory.html)

Olivier Pavilla 10-22-2011 12:20 PM

Firefox needs too much memory
 
I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.
So I h ave trouble with memory. It seems Firefox takes too much memory.
Look my "top"
Eventhough I stop firefox and run it again. It takes much memory.

dankin@coruscan:~$ top

top - 14:15:37 up 2:38, 2 users, load average: 2.92, 3.78, 3.04
Tasks: 217 total, 2 running, 212 sleeping, 0 stopped, 3 zombie
Cpu(s): 9.9%us, 13.0%sy, 0.0%ni, 2.8%id, 73.4%wa, 0.0%hi, 1.0%si,
0.0%st
Mem: 4050788k total, 4017976k used, 32812k free, 1956k buffers
Swap: 7999484k total, 2985696k used, 5013788k free, 207780k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

2263 dankin 20 0 339m 6556 2860 S 8 0.2 2:41.39 compiz

4972 root 20 0 0 0 0 R 7 0.0 0:03.92 kworker/0:0

1374 root 20 0 211m 18m 4068 S 7 0.5 6:42.55 Xorg

3471 dankin 20 0 1268m 113m 17m S 6 2.9 1:01.19
thunderbird-bin
27 root 20 0 0 0 0 S 6 0.0 0:21.37 kswapd0

4754 root 20 0 0 0 0 S 4 0.0 0:17.27 kworker/0:3

4979 root 20 0 0 0 0 S 3 0.0 0:03.86 kworker/1:4

2793 dankin 20 0 466m 26m 4340 S 2 0.7 2:34.60
chromium-browse
4573 root 20 0 0 0 0 S 2 0.0 0:14.67 kworker/1:2

4854 dankin 20 0 497m 9940 5544 S 1 0.2 0:01.20
gnome-terminal
4974 dankin 20 0 528m 15m 8248 S 1 0.4 0:11.44
gnome-system-mo
2235 dankin 20 0 26652 1824 416 S 1 0.0 0:03.39 dbus-daemon

3396 dankin 20 0 4739m 2.7g 2020 D 1 69.2 28:49.84 firefox

230 root 20 0 0 0 0 S 0 0.0 0:01.58 kworker/u:4

2291 dankin 20 0 74332 672 612 S 0 0.0 0:00.06
gvfs-afc-volume
2395 dankin 20 0 449m 3580 2308 S 0 0.1 0:03.87
cpufreq-applet
2514 dankin 20 0 405m 7748 2920 S 0 0.2 0:09.42
gwibber-service
2622 dankin 20 0 1443m 38m 11m S 0 1.0 3:22.72
chromium-browse
4583 dankin 20 0 365m 6800 1864 S 0 0.2 0:05.71
ubuntuone-syncd
4962 dankin 20 0 19468 896 564 R 0 0.0 0:01.37 top

1 root 20 0 24140 808 312 S 0 0.0 0:00.83 init

2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd

3 root 20 0 0 0 0 S 0 0.0 0:02.47 ksoftirqd/0

6 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0

7 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/1

9 root 20 0 0 0 0 S 0 0.0 0:01.00 ksoftirqd/1

11 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset

12 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper

13 root 0 -20 0 0 0 S 0 0.0 0:00.00 netns

15 root 20 0 0 0 0 S 0 0.0 0:00.02 sync_supers

16 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Steve Flynn 10-22-2011 12:26 PM

Firefox needs too much memory
 
On 22 October 2011 13:20, Olivier Pavilla <olivier.pavilla@linux-squad.com> wrote:


I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.

So I h ave trouble with memory. It seems Firefox takes too much memory.

Look my "top"

Eventhough I stop firefox and run it again. It takes much memory.


How many tabs do you have open?What addons do you have installed?Have you fired the app up with a fresh profile - does it make a difference?Have you tried other browsers such as Opera, Chromium, Chrome and do any of them exhibit the same memory requirements with the same pages and tabs open?


*--*Steve

When one person suffers from a delusion it is insanity. When many people suffer from a delusion it is called religion.




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Hal Burgiss 10-22-2011 12:56 PM

Firefox needs too much memory
 
On Sat, Oct 22, 2011 at 8:26 AM, Steve Flynn <anothermindbomb@gmail.com> wrote:


On 22 October 2011 13:20, Olivier Pavilla <olivier.pavilla@linux-squad.com> wrote:




I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.

So I h ave trouble with memory. It seems Firefox takes too much memory.

Look my "top"

Eventhough I stop firefox and run it again. It takes much memory.


How many tabs do you have open?What addons do you have installed?Have you fired the app up with a fresh profile - does it make a difference?Have you tried other browsers such as Opera, Chromium, Chrome and do any of them exhibit the same memory requirements with the same pages and tabs open?





What version of Firefox? I am not up to speed on which versions of Ubuntu have which versions of firefox but memory utilization is one of the improvements that came along FF5 or FF6, IIRC. If you are not using FF7, you should definitely try that (google on how to install the ppa for it).


Firefox is a known memory hog, at least on Linux. I left it in favor Google Chrome sometime back (7.10?). But on my current local system *(10.04 LTS / 4G / XFCE ), with FF7 and Chrome beta, Chrome is using signifcantly more memory than FF. *Each with a fair number tabs, and a large handful of addons.*


--
Hal

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Sam Przyswa 10-22-2011 02:23 PM

Firefox needs too much memory
 
Le samedi 22 octobre 2011 à 14:20 +0200, Olivier Pavilla a écrit*:


I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.
So I h ave trouble with memory. It seems Firefox takes too much memory.
Look my "top"




Yes it's true and this is for that I swapped to Google Chrome...



Sam.









--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

"Jeff G." 10-22-2011 03:25 PM

Firefox needs too much memory
 
On 10/22/2011 05:20 AM, Olivier Pavilla wrote:


I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.
So I h ave trouble with memory. It seems Firefox takes too much memory.


you may want to go through http://kb.mozillazine.org/Firefox_CPU_usage


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Ioannis Vranos 10-22-2011 06:42 PM

Firefox needs too much memory
 
On Sat, Oct 22, 2011 at 3:20 PM, Olivier Pavilla
<olivier.pavilla@linux-squad.com> wrote:
> I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.
> So I h ave trouble with memory. It seems Firefox takes too much memory.
> Look my "top"
> Eventhough I stop firefox and run it again. It takes much memory.
> [...]


Try disabling its extensions, rerun it, and tell us the amount of RAM it uses.



--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

James Freer 10-22-2011 08:41 PM

Firefox needs too much memory
 
On Sat, Oct 22, 2011 at 3:23 PM, Sam Przyswa <samp@arial-concept.com> wrote:
> Le samedi 22 octobre 2011 à 14:20 +0200, Olivier Pavilla a écrit*:
>
> I have ubuntu natty 64 bits. I have 4GB of RAM and swap 8GB.
> So I h ave trouble with memory. It seems Firefox takes too much memory.
> Look my "top"
>
> Yes it's true and this is for that I swapped to Google Chrome...
>
> Sam.

I hope you don't mind me asking but was there a reason for you
choosing Chrome rather than Chromium. It's only been this last week
i've started using Chrome. I didn't realise that Chromium was the Open
Source version, and Chrome was google's revamp. As Chrome was straight
.deb i installed it - Chromium had a few dependencies and addons which
i didn't want to explore. With google i always wonder what else
they've put in to a package.

Have you compared the two? I couldn't get the syncing bookmarks to
work and wonder if that is a conflict with google toolbar that i used
to use!

[I also found FF and Seamonkey to a lesser extent heavy on memory so i
decided to change].

james

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Ioannis Vranos 10-22-2011 08:50 PM

Firefox needs too much memory
 
Olivier,

I think the best method to see the additional memory usage of Firefox,
is to run in a terminal the command free -m, before and after
runniging firefox.


You should check the second line from the output, the one with "-/+
buffers/cache:".



--
Ioannis Vranos

http://www.cpp-software.net

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


All times are GMT. The time now is 09:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.