Closed Bug 1649657 Opened 4 years ago Closed 3 years ago

Unbounded GPU process memory growth over long-running sessions

Categories

(Core :: Graphics, defect, P3)

80 Branch
Desktop
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: RyanVM, Unassigned)

References

Details

(Keywords: memory-footprint, memory-leak)

Attachments

(3 files)

Attached file about:memory report (deleted) —

I've been noticing lately that by the end of the day, my GPU process is using large amounts of memory (currently over 4GB) and my browser process is bouncing between 20-30% CPU usage constantly.

When looking about about:memory, I can see that the resident number reported is in line with what I'm seeing elsewhere, but nothing in the list above it comes close to adding up to such a large number.

Attached file about:support info (deleted) —

I captured a profile and it appears to be showing a steady uptick in GPU process memory usage every 2 seconds or so.
https://share.firefox.dev/2VAO8bl

On a fresh browser launch, my GPU process is using around 150MB. I'll keep an eye on it to see how it grows throughout the day.

Severity: -- → S3
Priority: -- → P3
Hardware: Unspecified → Desktop
Version: unspecified → 80 Branch
Attached file DMD report (deleted) —

I'm over 3GB again today at the moment. I grabbed a DMD report but nothing's obviously standing out there that I can see.

Flags: needinfo?(jmuizelaar)

I think we'll need to switch to ETW to try get lower level info. Let's try getting VirtualAlloc info https://docs.microsoft.com/en-us/windows-hardware/test/wpt/memory-footprint-optimization-exercise-2. You can likely ignore the heap allocation stuff.

Flags: needinfo?(jmuizelaar) → needinfo?(ryanvm)

Memory usage appears to be much more stable with gfx.webrender.compositor set to false.

After a few days of running with gfx.webrender.compositor set to false, I can say it's definitely improving things (albeit with the occasional rendering glitch). Also, I'm updating the summary because the CPU usage part was a red herring caused by about:processes itself using tons of CPU.

Flags: needinfo?(ryanvm)
Summary: High GPU process memory usage causing high CPU usage → Unbounded GPU process memory growth over long-running sessions

Haven't seen this in a long time. Probably fixed by bug 1640564.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: