Recommended Posts

Mozillazine - Trim on Minimize this page explains the setting pretty well. BangBang is also correct--he knows what he's talking about.

It's a workaround for people who have extensions that leak memory, but won't let them go for one reason or another.

Personally, I would reccomend looking into what extensions are causing the memory leak and seeking alternatives, or updating to an unofficial 1.5.0.2 build. However...this is a lot faster and easier.

Also, I think this was set to true on some versions of firefox 1.0.x, but is disabled in Firefox 1.5.

Anyone saying that firefox already does this, check to make sure you don't already have the line in your preferences and that you are using the most current build of Firefox.

Edited by Ned

Those who use minimize "trick" and cannot see any "lack of responsiveness" as Mozillazine says elsewhere (they vote to leave it disabled) also knows what they are talking about :cool: I think he was replying to a 500+mb -> 10-20mb situation not dismissing this in general cause it will for sure make Firefox go zzzzzz when restoring GUI and tabs. Not the way it works but possible buggy extensions/webpages/java or other evil giving 500mb will be best left alone - until it dies completely. Also there could be differences in how restoring Firefox feels depending on ram, computer speed.

When you add the preference or change it, it adds a like to a .js file in your profile (userpref.js or something)

Now, Firefox has memory leaks (all app's do), but the inflated RAM usage isn't a memory leak, it's due to the way windows handles application caching (Firefox doesn't have the issue on OS X or Linux for example), and Firefox will free memory if Windows needs it.

the trim_on_minimize simply forces Firefox to page everything to disk every time you minimize it, it doesn't make Firefox use less ram (it shifts everything to VM ram), and when you maximise it it reads everything out of VM ram back to memory, that is slow (more pages you have open, slower it takes).

  • 3 weeks later...

Your Firefox memory useage has always been less when FF was minimized, chances are you've just never checked it maximized vs. minimized before.

Without this patch installed:

I've got 137MB when maximized and.... wait for it... 137MB when minimized.

Now it's 133MB. Go figure.

Edit:

That seemed a bit strange to me. FireFox (actually Bon Echo) has been running for days but still. I quit FF and reloaded it and with only the Google start page it was taking 122MB. So I quit FF and I noticed that there was still an instance in my Task Manager so I killed it. When I launched FF again it was taking 20MB.

I also just upgraded from Bon Echo to Minefield so we'll see how that goes.

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

    • No registered users viewing this page.
  • Posts

    • Here is how I fixed Windows 11 not booting after clean installation by Taras Buria Story time. A couple of weeks ago, I experienced a very odd thing with my computers. I was trying to reinstall Windows 11 on my primary device, and everything was going smoothly until the installer performed the first restart. After that, my computer entered the boot disk selection screen instead of continuing the setup process. Huh, that's odd, said I, and selected Windows Boot Manager only to see it fall back into the same screen right away. Then I tried booting from the USB drive with the same result—the PC kept returning to the boot device selection screen, and removing the drive would send my PC to UEFI, again, with no way to launch Windows 11. I fired up my spare laptop, which has been sitting unused for quite a while, to see if I am dealing with a defective USB drive. Nope, Windows 11 installed and started without issues. After trying another drive and checking all the possible settings in UEFI, I decided to try disabling Secure Boot. Lo and behold, Windows 11 started as it should have been in the first place, continued the setup process, and reached the initial setup screen. Victory! After I finished the setup and applied all updates, I re-enabled Secure Boot, and Windows 11 started without issues. Some time later, I tried reinstalling Windows 11 on my laptop only to experience similar issues, with UEFI claiming a Secure Boot violation. I checked whether the drive works on my main PC, and yes, it installed Windows 11 without errors. I scratched my head, went to UEFI, turned off Secure Boot, and installed Windows 11 without issues. After that, I enabled Secure Boot. Note: I used the official Media Creation Tool app for my USB drive. Also, UEFI was properly configured for Windows 11, including no Legacy Mode, a GPT-partitioned drive, and TPM and Secure Boot enabled. From my experience, if you are dealing with similar symptoms, I recommend two things: If you use old Windows 11 install media, create a new one with the latest Windows 11 release, especially if you know your PC already has the latest Secure Boot certificates. If you cannot create a new one, turn off Secure Boot, complete the installation, download all available updates, and then re-enable Secure Boot in UEFI. Note that you need to turn off Secure Boot after installing Windows 11. Otherwise, the installer won't run, claiming a hardware requirements mismatch. I believe the problem hides in Secure Boot certificates that expire this month. Microsoft is currently rolling out new certificates, and maybe a mismatch was causing these issues for both of my systems. I am out of my depth to make a definitive statement; this article is flagged as "Opinion," as I only share my experience and some tips on how to fix the problem. If some of you possess deeper knowledge and understanding of the situation, please share it in the comments. As for everyone else struggling with computers not booting after a clean install, the two steps above should get you out of the pickle.
    • I gave the tool a chance the other day to make a USB. An hour later it was stuck at 0% downloaded. I downloaded the official ISO, downloaded Rufus, and made the USB myself in 15 min.
    • <Moved to software discussion and support> I've got fond memories of Winamp. Changing the skins, the different visualisations etc. But now I just need a simple music player. MSN messenger would be another one, MSN Messenger Plus (I think?) offered so many different plugins. But again, it probably wouldn't work for me these days. And then there is miRC. i think it's still going these days, but lord i had fun with that back in the day. Now it's mostly stuff like Discord, WhatsApp group chats, Signal, Telegram... /me is showing his age...
    • ive always been fascinated by old software this is an old video player for windows from apple
  • Recent Achievements

    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
    • One Month Later
      agatameier earned a badge
      One Month Later
    • Week One Done
      agatameier earned a badge
      Week One Done
    • Week One Done
      ssd21345 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      77
  • Tell a friend

    Love Neowin? Tell a friend!