Config.trim on minimize: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(this setting does not reclaim memory, only swap it out to the disk)
(→‎Background: Marks memory as swappable--doesn't "allow" Windows to swap)
Line 2: Line 2:


==Background==
==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 allow Windows to swap out memory from a minimized Mozilla application.
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==
==Possible values and their effects==

Revision as of 20:45, 19 June 2013

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

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