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

    • Well I've done a grand total of nothing, and it now clocks between 2010mhz and 1995mhz (stock is 1710mhz) and hovers around 80c, warmer than it used to, but tolerable clocks seem to have returned. Thanks for all the advice on this thread. Will review the evidence and make a choice.
    • Audacious 4.6.1 by Razvan Serea Audacious is a lightweight, open-source audio player that emphasizes simplicity, performance, and sound quality. Designed for Linux, Windows, and macOS, it supports a wide range of audio formats, internet radio streaming, and playlist management. Users can customize the interface with Winamp-style skins or modern themes, making it flexible for different preferences. Audacious also includes an equalizer, advanced audio effects, and a plugin system for extending functionality. Its low resource usage makes it especially suitable for older computers or users who value efficiency without sacrificing playback quality. Audacious key features: High audio quality – delivers clean, gapless playback with minimal distortion. Wide format support – plays MP3, FLAC, Ogg Vorbis, AAC, WAV, WMA, and more. Internet radio streaming – supports Shoutcast, Icecast, and other online streams. Winamp skin support – classic, nostalgic look for users who prefer the old-school style. Modern GTK-based interface – clean, simple UI with a more modern feel. Customizable themes – change appearance through skins and themes. Advanced playlist management – organize, save, and edit playlists with ease. Equalizer – fine-tune audio output with a built-in graphical equalizer. Audio effects – built-in DSP options like crossfade, replay gain, and more. Plugin system – extend functionality with additional components. File metadata support – displays and organizes music based on tags. Drag-and-drop support – quickly add songs or playlists. Global hotkey support – control playback without switching windows. Bit-perfect output modes – bypass system mixers for pure audio output. ReplayGain support – normalizes track loudness automatically. Cue sheet support – play entire albums from a single audio file with .cue. MPRIS2 integration – integrates with Linux desktop environments for media controls. Advanced resampling options – adjust playback quality with different resampler settings. Gapless playback – seamless transition between tracks encoded properly. Crossfade plugin – blend one song into the next smoothly. Last.fm scrobbling plugin – track listening history online. Remote control support – control Audacious via command-line or scripts. Lyrics plugin – display song lyrics if available. Alarm / timer plugin – start or stop playback at set times. SOX resampler plugin – high-quality resampling for audiophiles. Spectrum analyzer / visualization plugins – visual feedback while playing music. Headphone crossfeed effect – simulates speaker listening for headphones. Customizable buffer size – tweak latency and playback smoothness. Audacious 4.6.1 changelog: Use XDG cache dir to store temporary files (#1817) Accept embedded lyrics in more cases (#1818) Bump .so and plugin ABI versions retrospectively (#1819) Include Georgian translation (#1820) Fix build on systems using musl instead of glibc (#1823) Download: Audacious 4.6.1 | 48.2 MB (Open Source) Download: Portable Audacious 4.6.1 | 69.8 MB View: Audacious Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I really wonder if this has to do with the built in VPN or "private DNS" of browsers that trip up legal requirements like cookie consent and Cloudflare (to avoid all the botnet attacks we get). And BTW some botnets still manage to get past Cloudflare, we are constantly having to tweak it to block malicious traffic that ultimately cause a DDoS.
  • Recent Achievements

    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • 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
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      142
    4. 4
      ATLien_0
      89
    5. 5
      Steven P.
      80
  • Tell a friend

    Love Neowin? Tell a friend!