Memory leak of 26 documents in Fennec Windows

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
7 years ago
6 years ago

People

(Reporter: martijn.martijn, Unassigned)

Tracking

({memory-footprint, memory-leak, mobile})

Trunk
x86
Windows 7
memory-footprint, memory-leak, mobile

Details

(Reporter)

Description

7 years ago
I'm seeing a memory leak of 26 documents in Fennec on Windows, just by starting up and closing Fennec in a new, clean profile.

This is with the leak gauge tool, see: http://mxr.mozilla.org/mozilla-central/source/tools/footprint/leak-gauge.html?force=1

These are the environment settings, before starting up Fennec:
set NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
set NSPR_LOG_FILE=c:\leak_fennec.log
set GECKO_SEPARATE_NSPR_LOGS=1

I'm only seeing the leaks in the chrome process, the content process doesn't have leaks (at least, they don't show with the leak gauge tool).

This is the output of the leak gauge tool:
Results of processing log leak_fennec.log :
Leaked document at address 6e4f800.
Leaked document at address 6c7f800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/general.xml".
 ... with URI "chrome://global/content/bindings/general.xml".
Leaked document at address 6c80400.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/popup.xml".
 ... with URI "chrome://global/content/bindings/popup.xml".
Leaked document at address 6c85000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/scrollbox.xml".
 ... with URI "chrome://global/content/bindings/scrollbox.xml".
Leaked document at address 6f47c00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/bindings/arrowbox.xml".
 ... with URI "chrome://browser/content/bindings/arrowbox.xml".
Leaked document at address 6c2a400.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/toolbarbutton.xml".
 ... with URI "chrome://global/content/bindings/toolbarbutton.xml".
Leaked document at address 6c2bc00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/button.xml".
 ... with URI "chrome://global/content/bindings/button.xml".
Leaked document at address 6c2c800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/tabs.xml".
 ... with URI "chrome://browser/content/tabs.xml".
Leaked document at address 6c2dc00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/text.xml".
 ... with URI "chrome://global/content/bindings/text.xml".
Leaked document at address 6c2fc00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/bindings.xml".
 ... with URI "chrome://browser/content/bindings.xml".
Leaked document at address 6d31c00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/toolbar.xml".
 ... with URI "chrome://global/content/bindings/toolbar.xml".
Leaked document at address 6d33c00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/autocomplete.xml".
 ... with URI "chrome://global/content/bindings/autocomplete.xml".
Leaked document at address 6d6dc00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/textbox.xml".
 ... with URI "chrome://global/content/bindings/textbox.xml".
Leaked document at address 6d72000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/platformHTMLBindings.xml".
 ... with URI "chrome://global/content/platformHTMLBindings.xml".
Leaked document at address 6d74800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/notification.xml".
 ... with URI "chrome://browser/content/notification.xml".
Leaked document at address 6dc3000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/notification.xml".
 ... with URI "chrome://global/content/bindings/notification.xml".
Leaked document at address 6dc4400.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/bindings/browser.xml".
 ... with URI "chrome://browser/content/bindings/browser.xml".
Leaked document at address 6dc7000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/browser.xml".
 ... with URI "chrome://global/content/bindings/browser.xml".
Leaked document at address 9573800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/richlistbox.xml".
 ... with URI "chrome://global/content/bindings/richlistbox.xml".
Leaked document at address 9574000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/listbox.xml".
 ... with URI "chrome://global/content/bindings/listbox.xml".
Leaked document at address 95ec800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/mozapps/extensions/setting.xml".
 ... with URI "chrome://mozapps/content/extensions/setting.xml".
Leaked document at address 95ed800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/menulist.xml".
 ... with URI "chrome://global/content/bindings/menulist.xml".
Leaked document at address 95ef800.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/menu.xml".
 ... with URI "chrome://global/content/bindings/menu.xml".
Leaked document at address 9575000.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/chrome.jar!/content/bindings/checkbox.xml".
 ... with URI "chrome://browser/content/bindings/checkbox.xml".
Leaked document at address 9931400.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/checkbox.xml".
 ... with URI "chrome://global/content/bindings/checkbox.xml".
Leaked document at address 9931c00.
 ... with URI "jar:file:///C:/Users/mw22/Desktop/moz/fennec_builds/2011/fennec20110816/chrome/toolkit.jar!/content/global/bindings/radio.xml".
 ... with URI "chrome://global/content/bindings/radio.xml".

Summary:
Leaked 0 out of 0 DOM Windows
Leaked 26 out of 33 documents
Leaked 0 out of 3 docshells
Leaked content nodes in 0 out of 0 documents
tracking-fennec: --- → ?
Keywords: footprint, mobile
tracking-fennec: ? → -
(Reporter)

Comment 1

6 years ago
Mass resolving XUL Fennec I filed to WORKSFORME. If someone still cares about this bug, please reopen.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.