Closed Bug 395378 Opened 19 years ago Closed 17 years ago

Memory leak in navigator.plugins.refresh(false)

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 478823

People

(Reporter: waax, Unassigned)

References

()

Details

(Keywords: memory-leak, testcase)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007090704 Minefield/3.0a8pre Firefox memory usage grows each time navigator.plugins.refresh(false) is called. Reproducible: Always Steps to Reproduce: 1. Start Firefox 2. Under Windows start the Task Manager, find Firefox and highlight it 3. In Firefox: Type in the nagivation bar this code: javascript:alert(setInterval('navigator.plugins.refresh(false);',100)); 4. Go back to Task Manager and check the memory usage grow overtime for firefox.exe Actual Results: Memory usage grow overtime Expected Results: Memory usage stay the same
Version: unspecified → Trunk
Keywords: mlk, testcase
I was able to notice the growth of memory usage in Seamonkey 2.0a1pre rv: 1.9a9pre build 2007101802 in the Task Manager under XP Pro SP2 when using javascript:alert(setInterval("navigator.plugins.refresh(false);", 2000)); At least 400KB increase in memory allocation after 60 sec.
I can reproduce with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008012604 Minefield/3.0b3pre
Status: UNCONFIRMED → NEW
Component: General → DOM
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → general
Can't reproduce on linux. The memory usage goes up a bit first, but then stays at the same level. And XPCOM_MEM_LEAK_LOG doesn't show any leaks. Does the memory usage increase constantly on windows?
Using Firefox 3 Beta 2 on Windows XP, Mem Usage went up from 80 MB to 260 MB in one hour. After closing the tab and browsing some more, the Mem Usage did not go down.
It's also reported in bug 470481 and bug 478823
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.