Forward GPU memory pressure events to the UI process
Categories
(Core :: Graphics, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When we are running low on virtual memory in the GPU process, we should be notifying the UI process of a memory pressure event. This may allow us to free up memory in the content processes that may be mapped into the memory of the GPU process (e.g. images) before we run into a mapping failure.
| Assignee | ||
Comment 1•4 years ago
|
||
On 32-bit Windows, we see crashes related to running out of virtual
memory address space in the GPU process. Prior to this patch, we did not
report any memory status information from the GPU process to the parent,
only from the parent to the GPU process. Now if we go below the
threshold we request memory to be cleared in the parent/content
processes. This should trickle down to the GPU process by freeing shared
memory resources such as images, allowing us to unmap them out of the
GPU process sooner.
We will see similar problems on any 32-bit platform. The only other
target of note with sufficient numbers is 32-bit Android. There is no
GPU process on Android, however we only monitor the virtual memory
address space on Windows.
Comment 3•4 years ago
|
||
| bugherder | ||
Description
•