Closed Bug 1553296 Opened 5 years ago Closed 5 years ago

Windows system heap should be decommitted in response to memory-pressure events

Categories

(Core :: XPCOM, task, P1)

Unspecified
Windows
task

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file)

Since Windows APIs use the Windows system heap, we should ask it to decommit pages in response to a memory-pressure event, similarly to what we do for jemalloc.

Starting with Windows 8.1, we can call HeapSetInformation with the HeapOptimizeResources information class to do this.

Summary: System heap should be decommitted in response to memory-pressure events → Windows system heap should be decommitted in response to memory-pressure events

This would be very helpful. Last time I investigated Windows crashes quite a few had a significant amount of committed memory that was not used. This could help cut down on those.

Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Priority: P3 → P1
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47b91132f415
Decommit pages in the Windows system heap upon memory-pressure event; r=gsvelto
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: