Config.trim on minimize

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

On Windows operating systems, when a program is minimized and left for a period of time, Windows will swap memory the program is using from RAM onto the hard disk in anticipation that other programs might need RAM. Because of the way Mozilla applications are stored in memory, Windows is much more aggressive in swapping out the memory they use, which can cause a delay when the program is restored. This preference determines whether to mark memory as preferably swappable, from a minimized Mozilla Windows application.

Possible values and their effects

true

Allow Windows to swap out memory when the program is minimized.

false

Prevent Windows from swapping out memory when the program is minimized. (Default)

Caveats

This preference does not exist by default.

Recommended settings

Any positive effect of this setting is dubious, since any memory saving may be illusory.Bug 420267, comment 7

However, if you're experiencing problems with the application consuming too much RAM (Mem Usage in the Windows Task Manager), you can try setting this preference to true. If you're not experiencing any problems, it should be left at false to maintain application responsiveness.

First checked in

2004-04-01 by Dan M

Has an effect in

  • Netscape (all versions since 7.2 on Windows)
  • Mozilla Suite (all versions since 1.7 on Windows)
  • Firefox (all versions since 0.9 on Windows)
  • Thunderbird (all versions since 0.6 on Windows)
  • SeaMonkey (all versions on Windows)

Related bugs