mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00

This uses GetPerformanceInformation() to measure how much commit space is available globally. Previously we relied on GlobalMemoryStatusEx() but in spite of the function name the commit-space values it returns are *per process* and thus unreliable. Available physical memory measurement has also been removed since it was never used and we don't plan on using it anytime soon. Differential Revision: https://phabricator.services.mozilla.com/D35018 --HG-- extra : moz-landing-system : lando