Recommended Posts

Ok this is what I need. If you guys can post exact steps to reproduce memory leaks please post the exact steps to reproduce eg.. Url to the site, what you did on the site (like right clicked and opened 20 pictures in tabs or new windows, or right clicked and saved to my hard drive) and how much memory was being used. Please do not post if you are not using Firefox 1.5 or older because the bugs will not be fixed in those releases...need to make sure the leaks are in the current releases.

Please do not post here to complain about your memory issues! All I want is the steps to reproduce them

Helpful posts:

1) URL

2) What you was doing and steps to reproduce

3) Memory being used

4) Build ID via Help->About Firefox

Not helpful:

1) Not using Firefox 1.5 or newer (Newer=Branch builds, 1.5.0.1 test build, trunk builds)

2) Trolling saying firefox sux or the like (Will be reported)

3) No steps to reproduce, need at least the URL

Thanks!

EDIT: Forgot to mention why I need this. I got some tools to trace leaks in Firefox and hopefully I can disect these leaks and get em fixed.

Edited by supernova_00
Link to comment
https://www.neowin.net/forum/topic/420311-firefox-memory-leaks/
Share on other sites

Embedded videos and flash use up more memory than they should. Firefox retains most of the files or plugin data even after the page is closed. Starting with 35mb, my memory usage went up to 100mb after playing a few embedded videos (putfile.com, video.google.com, etc) and flash movies. With the video pages now closed, no more movies loaded, memory usage is still 91mb with one browser window open (this reply).

The way Firefox retains certain data should definitely be looked at. I think it is one thing that contributes to the "memory leaks."

I've been trying out those sites all night and some of this morning and can't get firefox to leak. Do you have any extensions installed that interact with these videos in any way? Adblock, getflash, flashblock, and plugins for obscure players other then wmp.

Thing is, if the extensions are the ones leaking...we really can't do anything to fix those except the users can notify the extension authors.

EDIT: Managed to find memory leaking with software update and customizing the toolbar. :) Sofware update memory leak is when you upgrade and select 'Later' to restart later after upgrading and you continue to surf.

Customize bug is just opening the customize pallet and closing it.

No leaks there. High memory due to fast back navigation. Go through all 8 pages (i have neowin show me 40 posts per page) then look at memory useage, then go to yahoo, google, msn, hotmail, ebay then look at the ram useage...it droped from around 117mb to around 30. Firefox makes use of fast back navigation where it caches last 5 pages shown in that tab.

I'd like to see someone who does see these ultra-high memory situations install the trunk and create a new profile and install the extensions they normally do, and then see if it still happens. If it does, then we can get them to log and see if what they're seeing really is a leak, or just memory usage.

Coz I sure as hell can't repo these OMG FIREFOX USES A GAZILLION MB OF MEMORY complaints.

Exactly! All these people complain but no one posts the site that they say happened on, or give steps to reproduce. Plus they have about 50 extensions so no wonder there is a leak somewhere from these half finished code extensions installed especially the people that bump the maxversions and the extension still use some old outdated code that slows stuff down and probably causes the memory leaks in the first place.

BTW the reason I did post link to the tools, build and steps to install of the stuff needed to check for leaks is because its too complicated for most to understand and a million bugs would be filed in firefox and they really wouldnt be true bugs because the user did not have a fresh clean profile, no extensions or themes, homepage set to about:blank, go to the website that they thing is leaking, then close firefox and run the perl script over the log. then try to reproduce if they think they found a link. All they would do is file a bug saying firefox sux because it used 100mb ram on XXX page and they have a list of 30 extensions installed, didn't clean the cache first, and was surfing all day before they ran the script.

Ya... think that the 1.5 have maybe a leek... not sure...

In normal time back in the 1.0.7 times it was using way less memory,

I didn't see that before since i'm actually with 1GB of RAM ratter than 512MB.

But when I was browsing Neowin normally I was about 70MB RAM.

Now at the time I write this message it take 187MB (176MB Virtual)

Build ID: Mozilla/5.0 (Windows; U; Windows AM 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Well, I will close FF and try to look where it use lot of memory...

It can't use that from the start heh?

NI3NOR: Firefox 1.5 will use more memory because of the new fastback cache feature. Caches last 5 pages you visited in each tab. Disable that feature if you think firefox is using too much memory and you dont normally or care about a little bit faster back/forward navigation

NI3NOR: Firefox 1.5 will use more memory because of the new fastback cache feature. Caches last 5 pages you visited in each tab. Disable that feature if you think firefox is using too much memory and you dont normally or care about a little bit faster back/forward navigation

heh? indeed this can be usefull but i'm a guy that like to have 15 tabs... you see and i'm browsing lot of Pictures sites...

Where I can disable this in about:config ?

I did not even have that preference in my about:config, so I had to add it. Hopefully this will cut down on the memory usage. At any given time, Firefox uses about 60MB of memory. It probably has to do with themes and extensions and such, but I only have a few extensions loaded (ForecastFox, Adblock, and a few other small ones for convenience tasks like Paste And Go).

-- OxygenOne

Eww...

Ya, this option wasn't here, so I had created it and put it at 0

now browsing like a RoadRunner on some sites to check the Ram and still high for me....

142MB RAM (131MB Vir)

Offtopic:

You should add a little guide to about:config in your site,

and finally put an option screen to your extention toolbar cleenup ^^ (I HATE to hide my searchbar... but the rest is nice...)

I put in the faq about high memory useage, which points to a great thread on mozillazine...should read that.

I really want to put an options menu in my extension but I've tried and failed to get it working. I've asked for help on mozillazine and here but no one voluntered :( but thats for another topic.

EDIT: btw make sure you restarted after you added that entry to about:config

I always forgot to mention to disable prefetch. It loads everylink into the cache incase you click on the link the page will load faster. If your on a page with links to lots of pics no wonder why your get high memory useage. I feel that people that use fastback cache + prefectcing are the ones suffering the most.

'network.prefetch-next' is the entry

I often do alot of browsing, and today i had 50+ tabs open at one time, each page holding multiple frames. Those pages holds alot of images and text but I often close them after 20 secs. The main problem is that Firefox keeps the stuff in memory instead of writing it to the cache. Clearing your private data seems to help alot on the memory useage, but doesn't unload it all. (today firefix suddently went up to 1GB+ memory useage but i only have 512 mb ram.)

I have prefetch disabled.

I don't know if this could be related to a memory leak, but Gmail notifier often crash Firefox just after you received a mail and click the button to open your gmail inbox (before the toaster window is gone)

Thanks for the FAQ link... reading about it right now...

Sorry to don't help you that mush with your search of memory leaks...

BUT! AdBlock is T3H **** MEMORY LEAKER! *yells at it*

Actually I think I have save 100MB ( !!! ) by reading the FAQ and of course REMOVE adblock in order to put Adblock Plus!

(And now i don't feel guilty... I have a White list for good site to just "hide" thiere Ads WOOT!)

Edit: Just to inform that it use actually 78MB (67MB Vir)

After another rought browsing in DA/NW - Desktop Thread/Some random search in Google Image...

it's really nicer...

supernova_00,

You have helped me too. :) Setting network.prefetch-next to false seems to help release memory and virtual memory after having employed the extension Browse Images, which uses a lot of those two. Curiously enough the memory and virtual memory do not get released after having loaded and gone away from a page with many images using only firefox, and not Browse Images. But I've read that firefox itself has issues with displaying images, so I suspected it. I'm sure the firefox team is looking into this, and I wish them (you?) good luck!

Again, thanks!

(Sorry for not providing an url, but it happens on every page with many images, and I also thought that my gratitude would make up for the lack of an url. :) )

? Artifex ?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Gotenks98 is right... Outlook (new) is absolute trash. Doesn't Mozilla have an Enterprise Version of Firebird?
    • Microsoft Weekly: Surface Laptop Ultra, Windows 11 context menus, Build 2026 recap, and more by Taras Buria This week's news recap is here, with Microsoft announcing the new Surface Laptop Ultra, fresh chips from NVIDIA for Windows on ARM, a no-build week, fixes for Windows 11's context menus, gaming news, reviews, and more. Quick links: Windows 10 and 11 Windows Insider Program Updates are available Reviews are in Gaming news Great deals to check Windows 11 and Windows 10 Here, we talk about everything happening around Microsoft's latest operating system in the Stable channel and preview builds: new features, removed features, controversies, bugs, interesting findings, and more. And, of course, you may find a word or two about older versions. At Computex 2026, together with NVIDIA, Microsoft announced the Surface Laptop Ultra, its most powerful laptop to date, powered by NVIDIA's RTX Spark processor. Details about this computer are currently scarce, as Microsoft has only revealed certain parts of its specs. So far, we know that the computer has a 15-inch mini-LED display, a rich set of ports, a powerful processor, and all-day battery life. It also comes with a new wallpaper, which you can already download here in full resolution. The Surface Laptop Studio is not the only NVIDIA-powered Surface, which Microsoft unveiled this week. At Build 2026, the company also debuted the Surface RTX Spark Dev Box, an odd-shaped desktop with a 20-core NVIDIA Grace CPU and an NVIDIA Blackwell RTX GPU with 6,144 CUDA cores and fifth-generation Tensor Cores with FP4 precision, connected via the NVIDIA NVLink-C2C chip-to-chip interconnect for high performance. According to Microsoft, it can run models with up to 120 billion parameters locally without relying on cloud GPU infrastructure. These two new Surface devices are likely to cost quite a lot, and for those who need a more affordable device, Microsoft is preparing the next-gen Qualcomm-powered Surface Pro and Surface Laptop. This week, details about these two devices leaked in plenty of detail. Other announcements at Build 2026 include the following: Microsoft unveils new security tools for IT admins and developers building AI products Microsoft announces Scout, an OpenClaw-powered personal agent for enterprise customers Microsoft unveils MAI-Thinking-1 reasoning and MAI-Code-1 coding models Microsoft announced a new Windows 11 native command-line utility Microsoft unveils Majorana 2 quantum chip, accelerating commercial timeline to 2029 Microsoft believes that AI agents will eventually replace apps through Project Solara Microsoft introduces Web IQ, a Bing-powered search system built for AI agents Last week, Microsoft released a new Experimental build, which introduced a major Start menu upgrade. It now lets you toggle off specific parts of the menu without affecting other features, resize the menu, and hide additional UI elements. We published a closer look here, so if you want to know what Microsoft is cooking without enrolling in the Insider program and installing unstable builds, check it out. Speaking of new features, many users are very annoyed about the way Microsoft delivers them. Recently, a frustrated user shared their experience with gradual rollouts, and even Microsoft engineers admitted there is a flaw in the system that prevents new features from applying properly. One of those new features includes the ability to uninstall AI models in Windows 11 with a single click. Windows 11 is finally getting fixes for its slow context menus. Marcus Ash from Microsoft confirmed that the company is working on fixing Windows 11's context menus. Reworked context menus are going to be faster, simpler by default, and "configurable to what you use most." According to Marcus, Microsoft will share more details soon. Windows Insider Program Windows 11 preview builds, released last week, are now available for download as standalone ISO files. These days, Microsoft regularly pushes new images, allowing users to clean-install its recent Windows 11 preview builds faster and easier. If you want to try the latest Windows 11 features without jumping through the Windows Update hoops, get those new images here. Sadly, Microsoft did not release new Windows 11 preview builds this week. Come back next time. Updates are available This section covers software, firmware, and other notable updates (released and coming soon) delivering new features, security fixes, improvements, patches, and more from Microsoft and third parties. Microsoft is preparing new features for Teams. Later this month, the messenger will receive a new download manager with auto-dismissing notifications, reducing clutter and making the overall experience less annoying when dealing with downloads. Mozilla released Firefox 151.0.3, a new bug-fixing update for the browser. It is a small release, which fixes problems with pasting into text fields and the oversized VPN button on the toolbar. The update is now available for all users in the Release channel. Here are other updates and releases you may find interesting: VS Code 1.123 introduces massive upgrades for persistent AI developer workflows Microsoft OneDrive is getting a simple yet much-needed feature Microsoft faces heat after quietly blocking promised Office features on Apple systems Microsoft resumes forced Copilot app installation on some Windows PCs Browser vendors pen an open letter to Microsoft, saying "enough is enough" Here are the latest drivers and firmware updates released this week: AMD Radeon Software 26.6.1 with optimizations for F1 25: 2026 Season, World of Tanks: HEAT, and various bug fixes. Reviews are in Here is the hardware and software we reviewed this week Steven Parker dropped more mini PC reviews this week. GEEKOM Air12 2026 Edition is a low-power, affordable computer with an Intel Tiger Lake Pentium Gold processor, up to 16GB of memory, and 512GB of storage, costing just $349. It is light, quiet, energy efficient, and has modern ports on the front. However, the front-facing USB Type-C is data-only, and there are some quirks with the computer's memory, so check out the full review. The AMD RX 9070 GRE has been released worldwide, and we published a benchmark review comparing this powerful graphics card to the RX 9070 XT, 7800 XT, the NVIDIA RTX 5070, and RTX 4070. It has solid, balanced performance, plenty of RAM, and low temperatures, but watch out for mediocre ray tracing performance and not the best efficiency. Also, we reviewed the Cuktech 10 Ultra, a compact, high-power charger with four ports and a big display full of various stats. This tiny charger can pull nearly 120W and spread that power according to each connected device's needs. It also comes with a high-quality 240W cable, three power modes, and retractable prongs. The best part? It is quite affordable, just make sure you have an outlet placed in the right spot to benefit from the built-in display. On the gaming side Learn about upcoming game releases, Xbox rumors, new hardware, software updates, freebies, deals, discounts, and more. Do you remember the ASUS ROG Xbox Ally, Microsoft's first handheld console designed in partnership with ASUS? This week, ASUS revealed a new version of the device to celebrate twenty years of its Republic of Gamers brand. The new ROG Xbox Ally X20 features an OLED display, a transforming D-Pad, TMR sticks, and other changes. However, the chip inside the console is still the same. Forza Horizon 6 launched last month to critical acclaim, but the game will soon have a new rival made by those who used to work on Forza Horizon titles. Mike Brown from Maverick Games announced Clutch, an upcoming racing game with a story-driven campaign, deep car customization, and rich multiplayer. The game is coming to PC, Xbox Series X|S, and PlayStation 5 in Spring 2027. The next update for Minecraft now has a release date. This week, Mojang announced that Chaos Cubed will be available on June 16, 2026. In addition, Mojang published a teaser of the next Minecraft movie. A Minecraft Movie Squared has now been confirmed for a release somewhere in 2027. NVIDIA GeForce Now is getting 18 new games in June. Those include Jurassic World Evolution 3, Fatekeeper, GOALS, Gothic 1 Remake, NTE: Neverness to Everness, and more. If you are a Game Pass subscriber, you can also get new games soon: Persona 5 Royal, Starseeker: Astroneer Expeditions, and more are coming to the service this month. Sumer Game Fest 2026 happened this week, where we saw plenty of new games, including Alien Isolation 2, Final Fantasy VII Remake Part 3, Gen Atlas from the Shadow of the Colossus creator, a new Cuphead game in 8-bit style, a new expansion for Mafia: The Old Country, and more. Finally, here are this week's Weekend PC Game Deals, full of discounts and the latest freebies from the Epic Games Store. Other gaming news includes the following: God of War Laufey announced, introducing Kratos' wife as the new protagonist Ori studio's No Rest for the Wicked 1.0 release and console plans announced Microsoft launches Godot Sample to streamline Xbox PC game development on the engine Great deals to check Every week, we cover many deals on different hardware and software. The following discounts are still available, so check them out. You might find something you want or need. Samsung 990 PRO SSD 2TB NVMe - $389.99 | 39% off Sonos Sub 4 - Wireless Subwoofer - $759 | 16% off Logitech MX Creative Console - $159.99 | 20% off This link will take you to other issues of the Microsoft Weekly series. You can also support Neowin by registering for a free member account or subscribing for extra member benefits, along with an ad-free tier option.
    • Let's goooooooo! I've been loving the entries so far! I still have to finish Rebirth (things have been busy!)! Excited for this next installment.
    • "Revelation?" I was hoping for this episode to be called "Reunion". Oh, well... In a related note, the Final Fantasy VII compilation has received an EC entry, short for Ever Crisis. For those who don't know, it already had AC, BC, CC, and DC entries, short for Advent Children, Before Crisis, Crisis Core, and Dirge of Cerberus. I hope it doesn't get an FC entry becaude that would be a freakin' crisis.
  • Recent Achievements

    • Week One Done
      pestcontrol46 earned a badge
      Week One Done
    • One Month Later
      pestcontrol46 earned a badge
      One Month Later
    • Week One Done
      JKR earned a badge
      Week One Done
    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      PsYcHoKiLLa
      277
    3. 3
      Skyfrog
      76
    4. 4
      +Edouard
      71
    5. 5
      FloatingFatMan
      68
  • Tell a friend

    Love Neowin? Tell a friend!