Closed Bug 662195 Opened 13 years ago Closed 13 years ago

Firefox takes up all RAM on mjpeg stream/video embedded on IMG tags, direct link to mjpeg doesnt cause this error.

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: NeMewSys, Unassigned)

References

()

Details

(Keywords: memory-leak, perf, Whiteboard: [MemShrink:P2])

User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 If you open a mjpg source, and its like a streaming, for example a video camera that never ends, firefox will take up all the RAM memory until it dies completly! Reproducible: Always Steps to Reproduce: 1. Open a mjpg stream, example: http://62.28.103.70/mjpg/video.mjpg 2. Open your SO hardware monitor 3. See how RAM is taken without mercy Actual Results: Memory leak Expected Results: Clean most old frames after a certain timeout or better, clean all frames but the current one. Happens with every mjpg, can be used to crash user's browser by injecting some stream like this in a website. It may cause loss of data, system crash, and so on.
Can you open a tab with about:memory so we can have numbers to tie to this bug ? and this by the current looks of it doesn't need to be a closed bug.
Group: core-security
Component: Security → General
Keywords: mlk, perf
QA Contact: firefox → general
Summary: Firefox takes up all RAM!!! → Firefox takes up all RAM!!! on mjpeg stream/video
Maybe related to the fact that individual frames of animated GIF-images can not be discarded separately (actually no images on foreground tabs are discarded). That would not be good for such an endless stream of images.
Version: unspecified → 4.0 Branch
(In reply to comment #1) > Can you open a tab with about:memory so we can have numbers to tie to this > bug ? > > and this by the current looks of it doesn't need to be a closed bug. Sure, here i have some screenshots of about:memory with one minute of time between them: http://img88.imageshack.us/img88/6049/ss20110606201851.png (~1 minute later) http://img143.imageshack.us/img143/7526/ss20110606202210.png (~1 minute later) http://img809.imageshack.us/img809/9464/ss20110606202447.png (~1 minute later) http://img15.imageshack.us/img15/2815/ss20110606202647.png (~1 minute later) http://img135.imageshack.us/img135/7726/ss20110606202824.png (~1 minute later) http://img820.imageshack.us/img820/1535/ss20110606202935.png (~1 minute later) http://img810.imageshack.us/img810/8505/ss20110606203057.png (~1 minute later) http://img810.imageshack.us/img810/8505/ss20110606203057.png (~1 minute later AFTER i close the mjpg tab) http://img824.imageshack.us/img824/6346/ss20110606203502.png (~2 minutes later AFTER closing the tab) http://img199.imageshack.us/img199/9383/ss20110606203726.png (~3 minutes later AFTER closing the tab) http://img39.imageshack.us/img39/1307/ss20110606203821.png The URL i used to test now was this one: http://dl.dropbox.com/u/1066659/lol.html
UPDATE ON THE BUG DESCRIPTION!!!!!!!! I would like to correct this: If i use a URL that directly links to the mjpg source, this bug DOESNT happen. For example if i open this URL http://62.28.103.70/mjpg/video.mjpg This is how the memory is used: http://img830.imageshack.us/img830/7406/ss20110606204346.png You can see the spikes there, meaning that firefox reaches about 230mb of ram and it cleans it a bit. BUT if i have a mjpg embedded in a IMG tag (like in here http://dl.dropbox.com/u/1066659/lol.html), then i have the memory hunger result i show in my previous reply.
(In reply to comment #1) > Can you open a tab with about:memory so we can have numbers to tie to this > bug ? > > and this by the current looks of it doesn't need to be a closed bug. People could start making img's with 0 size calling streams like this just to make the browser crash after a while, making the user lose all its data. Maybe this can even give the attacker a way to make memory overrun or so.
Tested the same with Google Chrome, it handles this correctly, its only Firefox's bug.
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general → imagelib
Version: 4.0 Branch → Trunk
Summary: Firefox takes up all RAM!!! on mjpeg stream/video → Firefox takes up all RAM on mjpeg stream/video embedded on a IMG tags, direct link to mjpeg doesnt cause this error.
Summary: Firefox takes up all RAM on mjpeg stream/video embedded on a IMG tags, direct link to mjpeg doesnt cause this error. → Firefox takes up all RAM on mjpeg stream/video embedded on IMG tags, direct link to mjpeg doesnt cause this error.
Ugh, the old (pre-FF6) about:memory is hopeless. NeMewSys, thanks for collecting the about:memory screenshots, unfortunately the old (pre-Firefox 6) about:memory is pretty hopeless. Sounds like this won't be hard to reproduce, though.
Blocks: mlk-fx4
(In reply to comment #7) > Ugh, the old (pre-FF6) about:memory is hopeless. > > NeMewSys, thanks for collecting the about:memory screenshots, unfortunately > the old (pre-Firefox 6) about:memory is pretty hopeless. Sounds like this > won't be hard to reproduce, though. I have the most recent firefox i think. Anyway, maybe i could log the ram usage using windows or some tool. Anyway here are the UPDATED steps to reproduce this: 1. open http://62.28.103.70/mjpg/video.mjpg 2. open windows task manager or an alike tool 3. check that the memory is stable, it grows but soon it decreases a bit, so no memory leak. (end of test one) 4. close firefox 5. open again 6. now try opening http://dl.dropbox.com/u/1066659/lol.html 7. you can check the page's source to see how simple it is (i just embedded the mjpg into a img tag) 8. open windows task manager or alike 9. notice how the used memory starts building up 10. wait 5 minutes and recheck again 11. you'll see that it still grows 12. wait 5 minutes again 13. see how starving poor firefox is 14. after you see all this, you can close, or keep killing ram (end of test two)
This is nothing to do with our video implementation. It's purely imglib.
(In reply to comment #8) > I have the most recent firefox i think. Yes, 4.0.1 is the most recent official release, but Firefox 5 and 6 are available in pre-release ("beta" and "aurora") forms respectively. See http://www.mozilla.com/en-US/firefox/channel/ for details. (In reply to comment #9) > This is nothing to do with our video implementation. It's purely imglib. Sounds similar to bug 660577.
(In reply to comment #9) > This is nothing to do with our video implementation. It's purely imglib. and who's imglib from?
what's the difference of having mjpeg open using direct link or using an img tag? Isn't the same implementation for both? Where's the OO methodology here?
> Isn't the same implementation for both? Pretty much, yes. The direct link case synthesizes a document with an <img> tag in it and points that <img> at the mjpeg. The only difference is that in that case the existing network stream is used for the data load... I just tried the second set of steps in comment 8 in Firefox 4.0.1 on Mac. For each line below, the two numbers are the "real mem" and "private mem" columns from activity monitor: Browser start: 87MB 40MB Load lol.html: 120MB 45MB Wait 5 minutes: 125MB 50.4MB Wait another 5min: 125MB 51.3MB I assume you're seeing quite different numbers on Windows, yes? What does about:support say about your hardware acceleration status? If it's on, does turning it off change behavior at all? Also, I'm on a somewhat slow network (about 1.5Mb/s downstream). If you're on a much faster one that might matter too....
Whiteboard: [MemShrink:P2]
With very limited testing with 4.0.1/WinXP, I'm not seeing a significant leak. Maybe a *very* slow leak - 1 meg over 5 min (though in a browser with a zillion tabs open it's hard to be sure). I'll measure again on a fresh test profile later. Reporter: please add your hardware configuration, OS version, and video drivers version.
I'm working with streaming mjpg files, too, and am not seeing this bug on OS X (5, 6, or Nightly). Here the files behave, whether linked to directly, or within a page.
I can't see this on FF 5 and 6a2 on Linux.
Everyone try to leave the browser in this url: http://dl.dropbox.com/u/1066659/lol.html for about one hour, and leave it there. If after that hour your computer hasn't almost all RAM used with firefox process, then you dont suffer this bug, else you have it too. Im using the latest version of firefox now, 5 one, on windows 7 ultimate. And the bug still exists. Please do what i told you to make sure that this bug is on every firefox or not.
It seems to NOT be on every firefox. May depend on OS and other factors. You have not yet answered comment 13 (HW acceleration questions). Please also provide contents of about:support page. Also can you reproduce the problem in Firefox safe mode (http://support.mozilla.com/en-US/kb/Safe%20Mode)?
Noções básicas Nome Firefox Versão 5.0 Agente de utilizador Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0 Pasta do perfil Abrir pasta de conteúdos Plugins activados about:plugins Configuração da versão about:buildconfig Extensões Nome Versão Activado ID 1-ClickWeather 1.1.9.1 true {DCBD1271-D228-4082-9FBC-36D9B7660B03} Aardvark 3.0 true aardvark@rob.brown Adblock Plus 1.3.9 true {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d} Add-on Compatibility Reporter 0.8.7 true compatibility@addons.mozilla.org All-in-One Gestures 0.22.1 true {8b86149f-01fb-4842-9dd8-4d7eb02fd055} CacheViewer 0.6.3 true {71328583-3CA7-4809-B4BA-570A85818FBB} Console² 0.8 true {1280606b-2510-4fe0-97ef-9b5a22eafe80} Cookie Monster 1.0.5 true {45d8ff86-d909-11db-9705-005056c00008} Download Statusbar 0.9.8 true {D4DD63FA-01E4-46a7-B6B1-EDAB7D6AD389} DownThemAll! 2.0.7 true {DDC359D1-844A-42a7-9AA1-88A850A938A8} DVDVideoSoft Menu 1.0.2 true {ACAA314B-EEBA-48e4-AD47-84E31C44796C} eCleaner 1.3 true {c72c0c73-4eb0-4fb3-af0f-074e97326cfd} Firebug 1.8.0 true firebug@software.joehewitt.com FoxyProxy Standard 3.1 true foxyproxy@eric.h.jung Full Fullscreen 3.4 true {bfe3406c-6f31-4789-86d5-efa50e12c9eb} Greasemonkey 0.9.7 true {e4a8a97b-f2ed-450b-b12d-ee082ba24781} IE Tab 2 (FF 3.6+) 3.5.9.1 true {1BC9BA34-1EED-42ca-A505-6D2F1A935BBB} iMacros for Firefox 7.3.0.0 true {81BF1D23-5F17-408D-AC6B-BD6DF7CAF670} Java Console 6.0.26 true {CAFEEFAC-0016-0000-0026-ABCDEFFEDCBA} PrefBar 5.1.1 true {8A6C82A1-F6C9-481a-AAE7-C96444C9A754} ReloadEvery 5.0.0 true {888d99e7-e8b5-46a3-851e-1ec45da1e644} Screengrab 0.96.3 true {02450954-cdd9-410f-b1da-db804e18c671} Tamper Data 11.0.1 true {9c51bd27-6ed8-4000-a2bf-36cb95c0c947} Tile View 1.5 true tileview@DW-dev Undo Closed Tabs Button 3.7.1 true undoclosedtabsbutton@supernova00.biz United States English Spellchecker 5.0.1 true en-US@dictionaries.addons.mozilla.org Google Web Toolkit Developer Plugin for Firefox 1.0.10401 false gwt-dev-plugin@google.com Java Console 6.0.21 false {CAFEEFAC-0016-0000-0021-ABCDEFFEDCBA} Java Console 6.0.22 false {CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA} Live HTTP headers 0.17 false {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a} Microsoft .NET Framework Assistant 1.2.1 false {20a82645-c095-46ed-80e3-08825760534b} Print Edit 5.1 false printedit@DW-dev QuickStores-Toolbar 1.1.0 false quickstores@quickstores.de RSS Ticker 8 false {1f91cde0-c040-11da-a94d-0800200c9a66} Skype extension 5.3.0.7550 false {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} Preferências modificadas Nome Valor accessibility.typeaheadfind.flashBar 0 browser.fixup.alternate.enabled false browser.history_expire_days.mirror 180 browser.link.open_newwindow.restriction 0 browser.places.importDefaults false browser.places.migratePostDataAnnotations false browser.places.smartBookmarksVersion 2 browser.places.updateRecentTagsUri false browser.startup.homepage google.pt browser.startup.homepage_override.buildID 20110615151330 browser.startup.homepage_override.mstone rv:5.0 browser.tabs.warnOnClose false dom.ipc.plugins.enabled.npietab2.dll true dom.ipc.plugins.timeoutSecs 1000 dom.max_script_run_time 1800 dom.report_all_js_exceptions true extensions.checkCompatibility false extensions.checkCompatibility.3.6 false extensions.checkCompatibility.3.6.previous false extensions.checkCompatibility.3.6b false extensions.checkCompatibility.3.6b.previous false extensions.checkCompatibility.3.6p false extensions.checkCompatibility.3.6p.previous false extensions.checkCompatibility.3.6pre false extensions.checkCompatibility.3.6pre.previous false extensions.checkCompatibility.3.7a false extensions.checkCompatibility.3.7a.previous false extensions.checkCompatibility.4.0 false extensions.checkCompatibility.4.0.previous false extensions.checkCompatibility.4.0b false extensions.checkCompatibility.4.0b.previous false extensions.checkCompatibility.4.0p false extensions.checkCompatibility.4.0p.previous false extensions.checkCompatibility.4.0pre false extensions.checkCompatibility.4.0pre.previous false extensions.checkCompatibility.4.2 false extensions.checkCompatibility.4.2.previous false extensions.checkCompatibility.4.2a false extensions.checkCompatibility.4.2a.previous false extensions.checkCompatibility.4.2b false extensions.checkCompatibility.4.2b.previous false extensions.checkCompatibility.4.2p false extensions.checkCompatibility.4.2p.previous false extensions.checkCompatibility.4.2pre false extensions.checkCompatibility.4.2pre.previous false extensions.checkCompatibility.5.0 false extensions.checkCompatibility.5.0.previous false extensions.checkCompatibility.5.0a false extensions.checkCompatibility.5.0a.previous false extensions.checkCompatibility.5.0b false extensions.checkCompatibility.5.0b.previous false extensions.checkCompatibility.5.0p false extensions.checkCompatibility.5.0p.previous false extensions.checkCompatibility.5.0pre false extensions.checkCompatibility.5.0pre.previous false extensions.checkCompatibility.6.0 false extensions.checkCompatibility.6.0.previous false extensions.checkCompatibility.6.0a false extensions.checkCompatibility.6.0a.previous false extensions.checkCompatibility.7.0 false extensions.checkCompatibility.7.0.previous false extensions.checkCompatibility.7.0a false extensions.checkCompatibility.7.0a.previous false extensions.checkCompatibility.8.0 false extensions.checkCompatibility.8.0.previous false extensions.checkCompatibility.8.0a false extensions.checkCompatibility.8.0a.previous false extensions.checkCompatibility.nightly false extensions.checkCompatibility.nightly.previous false extensions.checkCompatibility.previous false extensions.lastAppVersion 5.0 font.name.monospace.x-western Arial Unicode MS font.name.serif.x-western Arial font.size.fixed.x-western 16 keyword.URL http://www.google.com.my/search?q= network.cookie.prefsMigrated true network.ftp.idleConnectionTimeout 1000 network.http.keep-alive.timeout 1000 network.http.max-connections 48 network.http.max-connections-per-server 16 network.http.max-persistent-connections-per-proxy 16 network.http.max-persistent-connections-per-server 8 network.http.pipelining true network.http.pipelining.firstrequest true network.http.pipelining.maxrequests 8 network.http.proxy.pipelining true network.http.request.max-start-delay 0 network.http.sendRefererHeader 0 places.database.lastMaintenance 1312574702 places.history.expiration.transient_current_max_pages 64396 places.last_vacuum 1300064769 print.print_printer HP Deskjet F2100 series print.printer_Adobe_PDF.print_bgcolor false print.printer_Adobe_PDF.print_bgimages false print.printer_Adobe_PDF.print_command print.printer_Adobe_PDF.print_downloadfonts false print.printer_Adobe_PDF.print_edge_bottom 0 print.printer_Adobe_PDF.print_edge_left 0 print.printer_Adobe_PDF.print_edge_right 0 print.printer_Adobe_PDF.print_edge_top 0 print.printer_Adobe_PDF.print_evenpages true print.printer_Adobe_PDF.print_footercenter print.printer_Adobe_PDF.print_footerleft print.printer_Adobe_PDF.print_footerright print.printer_Adobe_PDF.print_headercenter print.printer_Adobe_PDF.print_headerleft print.printer_Adobe_PDF.print_headerright print.printer_Adobe_PDF.print_in_color true print.printer_Adobe_PDF.print_margin_bottom 0.5 print.printer_Adobe_PDF.print_margin_left 0.5 print.printer_Adobe_PDF.print_margin_right 0.5 print.printer_Adobe_PDF.print_margin_top 0.5 print.printer_Adobe_PDF.print_oddpages true print.printer_Adobe_PDF.print_orientation 0 print.printer_Adobe_PDF.print_pagedelay 500 print.printer_Adobe_PDF.print_paper_data 9 print.printer_Adobe_PDF.print_paper_height 11,00 print.printer_Adobe_PDF.print_paper_size_type 0 print.printer_Adobe_PDF.print_paper_size_unit 1 print.printer_Adobe_PDF.print_paper_width 8,50 print.printer_Adobe_PDF.print_reversed false print.printer_Adobe_PDF.print_scaling 1,00 print.printer_Adobe_PDF.print_shrink_to_fit true print.printer_Adobe_PDF.print_to_file false print.printer_Adobe_PDF.print_unwriteable_margin_bottom 0 print.printer_Adobe_PDF.print_unwriteable_margin_left 0 print.printer_Adobe_PDF.print_unwriteable_margin_right 0 print.printer_Adobe_PDF.print_unwriteable_margin_top 0 print.printer_HP_Deskjet_F2100_series.print_bgcolor true print.printer_HP_Deskjet_F2100_series.print_bgimages true print.printer_HP_Deskjet_F2100_series.print_command print.printer_HP_Deskjet_F2100_series.print_downloadfonts false print.printer_HP_Deskjet_F2100_series.print_edge_bottom 0 print.printer_HP_Deskjet_F2100_series.print_edge_left 0 print.printer_HP_Deskjet_F2100_series.print_edge_right 0 print.printer_HP_Deskjet_F2100_series.print_edge_top 0 print.printer_HP_Deskjet_F2100_series.print_evenpages true print.printer_HP_Deskjet_F2100_series.print_footercenter &PT print.printer_HP_Deskjet_F2100_series.print_footerleft print.printer_HP_Deskjet_F2100_series.print_footerright print.printer_HP_Deskjet_F2100_series.print_headercenter &U print.printer_HP_Deskjet_F2100_series.print_headerleft print.printer_HP_Deskjet_F2100_series.print_headerright print.printer_HP_Deskjet_F2100_series.print_in_color true print.printer_HP_Deskjet_F2100_series.print_margin_bottom 0.275694459676743 print.printer_HP_Deskjet_F2100_series.print_margin_left 0.196527779102325 print.printer_HP_Deskjet_F2100_series.print_margin_right 0.196527779102325 print.printer_HP_Deskjet_F2100_series.print_margin_top 0.275694459676743 print.printer_HP_Deskjet_F2100_series.print_oddpages true print.printer_HP_Deskjet_F2100_series.print_orientation 0 print.printer_HP_Deskjet_F2100_series.print_page_delay 50 print.printer_HP_Deskjet_F2100_series.print_pagedelay 500 print.printer_HP_Deskjet_F2100_series.print_paper_data 9 print.printer_HP_Deskjet_F2100_series.print_paper_height 11,00 print.printer_HP_Deskjet_F2100_series.print_paper_size_type 0 print.printer_HP_Deskjet_F2100_series.print_paper_size_unit 1 print.printer_HP_Deskjet_F2100_series.print_paper_width 8,50 print.printer_HP_Deskjet_F2100_series.print_reversed false print.printer_HP_Deskjet_F2100_series.print_scaling 0,60 print.printer_HP_Deskjet_F2100_series.print_shrink_to_fit false print.printer_HP_Deskjet_F2100_series.print_to_file false print.printer_HP_Deskjet_F2100_series.print_unwriteable_margin_bottom 0 print.printer_HP_Deskjet_F2100_series.print_unwriteable_margin_left 0 print.printer_HP_Deskjet_F2100_series.print_unwriteable_margin_right 0 print.printer_HP_Deskjet_F2100_series.print_unwriteable_margin_top 0 print.printer_Microsoft_Office_Document_Image_Writer.print_bgcolor false print.printer_Microsoft_Office_Document_Image_Writer.print_bgimages false print.printer_Microsoft_Office_Document_Image_Writer.print_command print.printer_Microsoft_Office_Document_Image_Writer.print_downloadfonts false print.printer_Microsoft_Office_Document_Image_Writer.print_edge_bottom 0 print.printer_Microsoft_Office_Document_Image_Writer.print_edge_left 0 print.printer_Microsoft_Office_Document_Image_Writer.print_edge_right 0 print.printer_Microsoft_Office_Document_Image_Writer.print_edge_top 0 print.printer_Microsoft_Office_Document_Image_Writer.print_evenpages true print.printer_Microsoft_Office_Document_Image_Writer.print_footercenter print.printer_Microsoft_Office_Document_Image_Writer.print_footerleft print.printer_Microsoft_Office_Document_Image_Writer.print_footerright print.printer_Microsoft_Office_Document_Image_Writer.print_headercenter print.printer_Microsoft_Office_Document_Image_Writer.print_headerleft print.printer_Microsoft_Office_Document_Image_Writer.print_headerright print.printer_Microsoft_Office_Document_Image_Writer.print_in_color true print.printer_Microsoft_Office_Document_Image_Writer.print_margin_bottom 0.5 print.printer_Microsoft_Office_Document_Image_Writer.print_margin_left 0.5 print.printer_Microsoft_Office_Document_Image_Writer.print_margin_right 0.5 print.printer_Microsoft_Office_Document_Image_Writer.print_margin_top 0.5 print.printer_Microsoft_Office_Document_Image_Writer.print_oddpages true print.printer_Microsoft_Office_Document_Image_Writer.print_orientation 0 print.printer_Microsoft_Office_Document_Image_Writer.print_pagedelay 500 print.printer_Microsoft_Office_Document_Image_Writer.print_paper_data 9 print.printer_Microsoft_Office_Document_Image_Writer.print_paper_height 11,00 print.printer_Microsoft_Office_Document_Image_Writer.print_paper_size_type 0 print.printer_Microsoft_Office_Document_Image_Writer.print_paper_size_unit 1 print.printer_Microsoft_Office_Document_Image_Writer.print_paper_width 8,50 print.printer_Microsoft_Office_Document_Image_Writer.print_reversed false print.printer_Microsoft_Office_Document_Image_Writer.print_scaling 1,00 print.printer_Microsoft_Office_Document_Image_Writer.print_shrink_to_fit true print.printer_Microsoft_Office_Document_Image_Writer.print_to_file false print.printer_Microsoft_Office_Document_Image_Writer.print_unwriteable_margin_bottom 0 print.printer_Microsoft_Office_Document_Image_Writer.print_unwriteable_margin_left 0 print.printer_Microsoft_Office_Document_Image_Writer.print_unwriteable_margin_right 0 print.printer_Microsoft_Office_Document_Image_Writer.print_unwriteable_margin_top 0 print.printer_PDFCreator.print_bgcolor true print.printer_PDFCreator.print_bgimages true print.printer_PDFCreator.print_command print.printer_PDFCreator.print_downloadfonts false print.printer_PDFCreator.print_edge_bottom 0 print.printer_PDFCreator.print_edge_left 0 print.printer_PDFCreator.print_edge_right 0 print.printer_PDFCreator.print_edge_top 0 print.printer_PDFCreator.print_evenpages true print.printer_PDFCreator.print_footercenter &PT print.printer_PDFCreator.print_footerleft print.printer_PDFCreator.print_footerright print.printer_PDFCreator.print_headercenter &U print.printer_PDFCreator.print_headerleft print.printer_PDFCreator.print_headerright print.printer_PDFCreator.print_in_color true print.printer_PDFCreator.print_margin_bottom 0.275694459676743 print.printer_PDFCreator.print_margin_left 0.196527779102325 print.printer_PDFCreator.print_margin_right 0.196527779102325 print.printer_PDFCreator.print_margin_top 0.275694459676743 print.printer_PDFCreator.print_oddpages true print.printer_PDFCreator.print_orientation 0 print.printer_PDFCreator.print_page_delay 50 print.printer_PDFCreator.print_pagedelay 500 print.printer_PDFCreator.print_paper_data 9 print.printer_PDFCreator.print_paper_height 11,00 print.printer_PDFCreator.print_paper_size_type 0 print.printer_PDFCreator.print_paper_size_unit 1 print.printer_PDFCreator.print_paper_width 8,50 print.printer_PDFCreator.print_reversed false print.printer_PDFCreator.print_scaling 0,60 print.printer_PDFCreator.print_shrink_to_fit false print.printer_PDFCreator.print_to_file false print.printer_PDFCreator.print_unwriteable_margin_bottom 0 print.printer_PDFCreator.print_unwriteable_margin_left 0 print.printer_PDFCreator.print_unwriteable_margin_right 0 print.printer_PDFCreator.print_unwriteable_margin_top 0 print.printer_doPDF_v7.print_bgcolor false print.printer_doPDF_v7.print_bgimages false print.printer_doPDF_v7.print_command print.printer_doPDF_v7.print_downloadfonts false print.printer_doPDF_v7.print_edge_bottom 0 print.printer_doPDF_v7.print_edge_left 0 print.printer_doPDF_v7.print_edge_right 0 print.printer_doPDF_v7.print_edge_top 0 print.printer_doPDF_v7.print_evenpages true print.printer_doPDF_v7.print_footercenter print.printer_doPDF_v7.print_footerleft &PT print.printer_doPDF_v7.print_footerright &D print.printer_doPDF_v7.print_headercenter print.printer_doPDF_v7.print_headerleft &T print.printer_doPDF_v7.print_headerright &U print.printer_doPDF_v7.print_in_color true print.printer_doPDF_v7.print_margin_bottom 0.984027802944183 print.printer_doPDF_v7.print_margin_left 0.196527779102325 print.printer_doPDF_v7.print_margin_right 0 print.printer_doPDF_v7.print_margin_top 0.393750011920929 print.printer_doPDF_v7.print_oddpages true print.printer_doPDF_v7.print_orientation 0 print.printer_doPDF_v7.print_page_delay 50 print.printer_doPDF_v7.print_pagedelay 500 print.printer_doPDF_v7.print_paper_data 9 print.printer_doPDF_v7.print_paper_height 11,00 print.printer_doPDF_v7.print_paper_size_type 0 print.printer_doPDF_v7.print_paper_size_unit 1 print.printer_doPDF_v7.print_paper_width 8,50 print.printer_doPDF_v7.print_reversed false print.printer_doPDF_v7.print_scaling 0,80 print.printer_doPDF_v7.print_shrink_to_fit false print.printer_doPDF_v7.print_to_file false print.printer_doPDF_v7.print_unwriteable_margin_bottom 0 print.printer_doPDF_v7.print_unwriteable_margin_left 0 print.printer_doPDF_v7.print_unwriteable_margin_right 0 print.printer_doPDF_v7.print_unwriteable_margin_top 0 privacy.cpd.sessions false privacy.popups.sound_url privacy.sanitize.migrateFx3Prefs true privacy.sanitize.timeSpan 0 security.warn_viewing_mixed false Gráficos Descrição do adaptador NVIDIA GeForce 9800 GTX/9800 GTX+ Vendor ID 10de ID do dispositivo 0612 RAM do adaptador 512 Controladores do adaptador nvd3dum nvwgf2um,nvwgf2um Versão do controlador 8.17.12.6099 Data do controlador 10-16-2010 Direct2D activado true DirectWrite activado true (6.1.7601.17563, font cache n/a) Renderizador WebGL Google Inc. -- ANGLE -- OpenGL ES 2.0 (ANGLE 0.0.0.611) Janelas aceleradas do GPU 1/1 Direct3D 10
Sh*t, that's ugly, lemme beautify that for you :) http://dl.dropbox.com/u/1066659/support.pdf
In safe mode the problem still exists.
Still can't see this on FF5 on Win XP. Firefox 6 final will be released in two weeks so then you can provide better about:memory stats for comment 7.
@aceman, maybe you can, just leave firefox on the lol.html URL for an hour, fullscreened, and check how the memory was building up for that hour.
Is fullscreen (F11) necessary? You haven't mentioned so far. I have tried it for 30 minutes and the memory was not growing.
No no no no... Its just to emphasize the fact that you need to leave it opened for a loooooooooooooong time (1 hour is good), but sometimes i notice that if i have the lol.html tab selected it grows a bit faster (but is still slow).
Stressed Steps to Reproduce: 1. Open http://dl.dropbox.com/u/1066659/lol.html (opening the mjpeg stream directly wont cause the bug) 2. Open your SO hardware/ram monitor 3. write down the amount of ram used by firefox 4. Wait one hour (try to find the meaning of life meanwhile) 5. See how RAM was taken without mercy in that hour 6. Compare with the ram you wrote before waiting 1 hour 7. Go crazy about it.
Yes, I have now specifically let the tab with stream in the foreground. And nothing. After 1 hour, memory usage grew about 20MB. Maybe the search for meaning of life is necessary to reproduce this :) Maybe this is Win7 specific. Do you have any antivirus?
No. And the probability of infections here is low. What is your OS?
This was on almost freshly installed XP SP3, all updates. Ati radeon 7500, ancient drivers.
NeMewSys, could you test whether you can still reproduce this with a fresh Firefox profile? It's starting to sound like this might be due to something that's specific to your profile. http://support.mozilla.com/en-US/kb/Managing-profiles#w_creating-a-profile
NeMewSys, it would be helpful if you could * Download a nightly build of Firefox [1] and open it in safe mode (and/or with a fresh profile, as suggested in comment 30). * In an attachment, post the contents of about:memory?verbose ** after loading the browser but before opening the test page, ** immediately after loading the test page, and ** after waiting an hour and observing Firefox's memory usage increase. I'm trying to reproduce this right now on my system; we'll see if I succeed. [1] http://nightly.mozilla.org
Will that nightly build of Firefox replace myne?
It should not if you get a zip version like this: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-8.0a1.en-US.win32.zip Just extract it somewhere and run it with a new profile. It should then not touch your main FF install and profile.
I wasn't able to reproduce the problem on my system, for whatever it's worth. The installer also won't overwrite your main FF installation -- it'll install to a different directory. But the zip file might be easier anyway.
On that nightly build the problem doesnt happen, so i assume its solved in future versions.
Fantastic! Thanks for looking into this, NeMewSys.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
But we don't know if the new build or the new profile fixed it. I haven't seen it on FF 5 but he did. So, NeMewSys, can you please make copy of your real profile under a new name and try the new build on that?
You need to log in before you can comment on or make changes to this bug.