Closed
Bug 1423394
Opened 7 years ago
Closed 6 years ago
1.3GB GPU-process memory leak
Categories
(Core :: Graphics, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1386177
People
(Reporter: remtanmajitenshi, Unassigned)
Details
(Whiteboard: [MemShrink:P1][gfx-noted])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171128222554
Steps to reproduce:
I used Firefox for 8 hours, last 1-2 hours I opened 400-500 tabs (trying to fix favicons in my session to mitigate bug 1423389), closed about 200. I understand that main and content processes memory usage will grow, but I noticed that for some reasons gpu-process grew the most and don't shrink even when minimizing via about:memory.
I hope that anonymized memory report would help.
Actual results:
GPU-process grew to 1.3 gb of working set (Process Explorer).
Expected results:
GPU-process shouldn't suffer from number of tabs or should GCing normally.
Updated•7 years ago
|
Component: General → Graphics
Product: Firefox → Core
Updated•7 years ago
|
Priority: -- → P3
Whiteboard: [MemShrink] → [MemShrink][gfx-noted]
Comment 1•7 years ago
|
||
Milan is there someone who can take a look at this? It's a 1.3GB leak.
Flags: needinfo?(milan)
Summary: GPU-process memory leak → 1.3GB GPU-process memory leak
Whiteboard: [MemShrink][gfx-noted] → [MemShrink:P1][gfx-noted]
I'm sure we'd have noticed at 1.3GB leak, but let's see.
Flags: needinfo?(milan) → needinfo?(bas)
Comment 3•7 years ago
|
||
(In reply to Milan Sreckovic [:milan] from comment #2)
> I'm sure we'd have noticed at 1.3GB leak, but let's see.
I somewhat doubt this is a leak.. in the about:memory report we also don't see memory usage anything of the sorts inside the GPU process, I wonder if this is something about what Process Explorer reports as the 'working set', I wonder what it was reporting as the Private Working Set in this situation.
Flags: needinfo?(bas)
Comment 4•7 years ago
|
||
(In reply to Bas Schouten (:bas.schouten) from comment #3)
> (In reply to Milan Sreckovic [:milan] from comment #2)
> > I'm sure we'd have noticed at 1.3GB leak, but let's see.
>
> I somewhat doubt this is a leak.. in the about:memory report we also don't
> see memory usage anything of the sorts inside the GPU process, I wonder if
> this is something about what Process Explorer reports as the 'working set',
> I wonder what it was reporting as the Private Working Set in this situation.
Ah, more carefully looking at it, under 'resident' it does report 1.3 GB, this is memory simply -mapped- by the GPU process (or one of the DLLs), not owned, I'm guessing this is something internal to DirectX or the Graphics drivers, which is shared with the OS. I somewhat doubt there is something we can do about it, our own counters suggests we're not keeping any texture objects on our side alive. It's possible the OS is just lazily clearing these as it doesn't require the memory, although it's sort of unexpected to eat that much into our address space, it's also quite fragmented (although I guess in a 64-bit process it hardly matters). It's possible we're leaking some DX object, but we'd expect to have noticed somewhere else and it seems unlikely as we don't handle their refcounts explicitly.
Of course it's also possible the graphics drivers have a leak internally.
(In reply to Bas Schouten (:bas.schouten) from comment #3)
> (In reply to Milan Sreckovic [:milan] from comment #2)
> I wonder what it was reporting as the Private Working Set in this situation.
I found screen. Private Bytes column for gpu-process was 124 820 K.
Comment 6•6 years ago
|
||
Duping over to 1425718.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Updated•4 years ago
|
QA Contact: Virtual
You need to log in
before you can comment on or make changes to this bug.
Description
•