Skip to content

Commit

Permalink
Issue #1972 - Disable forcing GC on memory pressure.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfbeast committed Sep 20, 2024
1 parent 7f1d059 commit f31bb38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions palemoon/app/profile/palemoon.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ pref("general.warnOnAboutConfig", false);

// Enable unlinking of ghost windows so they can be garbage collected.
pref("browser.ghostbuster.enabled", true);
// Disable GC on memory pressure, avoid incessant recycling when websites
// misbehave. Should also avoid spurious GCs during ghostbusting.
pref("javascript.options.gc_on_memory_pressure", false);

// This is the pref to control the location bar, change this to true to
// force this - this makes the origin of popup windows more obvious to avoid
Expand Down

0 comments on commit f31bb38

Please sign in to comment.