Project

General

Profile

Actions

Bug #2307

closed

Firefox has memory leak

Added by phma about 12 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/16/2012
Due date:
% Done:

0%

Estimated time:

Description

I had Firefox (the prepackaged one that calls itself Aurora) open for two days or so. If I use it after it's been up for several hours, it gets slow, and I have to kill and restart it. I forgot to do this, so during Hammer maintenance, the kernel killed X, resulting in a strange display. I had to shell in from another box and kill kdm, then as processes still using the dead X remained, I had to reboot. Firefox version is 6.0.2; kernel version is v3.1.0.114.g7fba7-DEVELOPMENT. I had a few Google Docs and Google Maps open in it. I don't see Konqueror taking over the memory like this.

Actions #1

Updated by phma about 12 years ago

It happened again last night, without Firefox. /var/log/messages has lines like this:

Feb 17 06:14:51 darner kernel: swap_pager_getswapspace: failed alloc=2
Feb 17 06:14:51 darner kernel: swap_pager_getswapspace: failed alloc=5
Feb 17 06:14:51 darner kernel: swap_pager_getswapspace: failed alloc=4
Feb 17 06:14:51 darner kernel: swap_pager_getswapspace: failed alloc=2
Feb 17 06:15:22 darner kernel: Warning: system low on memory+swap!
Feb 17 06:15:46 darner last message repeated 7 times
Feb 17 06:18:12 darner last message repeated 31 times
Feb 17 06:18:14 darner kernel: Warning: system low on memory+swap!
Feb 17 06:18:14 darner kernel: pid 1066 (Xorg), uid 0, was killed: out of swap space
Feb 17 06:18:21 darner kdm1063: X server for display :0 terminated unexpectedly
Feb 17 06:19:15 darner kdm1063: X server startup timeout, terminating
Feb 17 06:19:34 darner kdm1063: X server for display :0 cannot be started, session disabled

Actions #2

Updated by phma about 12 years ago

Looks like the program responsible for eating memory and causing X to crash is not Firefox, but the XFCE4 Terminal.I saw it taking a gig of memory with only two tabs.

Actions #3

Updated by dragonflybsd1 almost 12 years ago

Do you want this ticket closed?
Both issues (mem leak in firefox and mem leak in xfce4 terminal) are walking the line between dragonfly issue and developer-of-package issue.

Actions #4

Updated by phma almost 12 years ago

I'm pretty sure by now that the Firefox taking up more memory is the result of opening Google Docs or exploring Google Maps. The XFCE terminal, though, definitely has a bug, and I haven't seen that bug on my Linux laptop, which has XFCE. Konsole also has a bug, which results sometimes in every Konsole window hanging when one of them runs less, but that seems to be a known bug in Konsole. I'm going to wait until the next release of binary packages and see if those bugs are still there.

Actions #5

Updated by tuxillo over 2 years ago

  • Status changed from New to Closed

Please open an issue in github.com/dragonflybsd/dports if this is still an issue.

Actions

Also available in: Atom PDF