Closed Bug 1370998 (wr-memory) Opened 7 years ago Closed 9 months ago

[meta] Tracking bug for WebRender memory issues

Categories

(Core :: Graphics: WebRender, enhancement, P5)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1549410
Tracking Status
firefox56 --- unaffected
firefox57 --- unaffected

People

(Reporter: jrmuizel, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: meta, perf, Whiteboard: [gfx-noted][MemShrink:meta])

On macOS with webrendest enabled and layers.force-active. We'll eventually use up 768MB of RGBA texture cache when this happens performance goes in the trash.
Keywords: perf
Priority: -- → P3
Whiteboard: [gfx-noted]
Priority: P3 → P2
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
Keywords: meta
Priority: P2 → --
Summary: WebRender uses up too much memory → [meta] WebRender uses up too much memory
Whiteboard: [wr-mvp] [gfx-noted] → [gfx-noted]
I'm going to hijack this bug into a general memory usage metabug. If the thing in comment 0 is still a problem we can spin it out into a new concrete bug.
https://github.com/servo/webrender/pull/2941 might help, it makes it more likely for a texture cache entry to get evicted soon when it's image key is deleted. That said the eviction strategy in the texture cache does not take available/consumed memory into account in any way so there must be ways to improve there.
Bug 1479939 might also help here.
Depends on: 1479939
No longer depends on: 1479336
Priority: P3 → P2
Metabug -> P5.
Priority: P2 → P5
Alias: wr-memory
Summary: [meta] WebRender uses up too much memory → [meta] Tracking bug for WebRender memory issues
Depends on: 1493196
Depends on: 1495162
Depends on: 1495242
Depends on: 1495661
Depends on: 1495915
Depends on: 1495936
Depends on: 1495977
Depends on: 1499509
Depends on: 1499601
Depends on: 1498220
Depends on: 1501073
Depends on: 1504115
Whiteboard: [gfx-noted] → [gfx-noted][MemShrink:meta]
Depends on: 1505449
Depends on: 1505639
Depends on: 1507996
Depends on: 1510490
Depends on: 1511354
Depends on: 1513308
Depends on: 1654013, 1660407
Blocks: wr-perf
No longer blocks: stage-wr-trains
Depends on: 1668837
Depends on: 1678383
Depends on: 1677364
Depends on: 1678656
Depends on: 1730819
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 9 months ago
Duplicate of bug: wr-oom
Resolution: --- → DUPLICATE
No longer depends on: 1677364
No longer depends on: 1730819
You need to log in before you can comment on or make changes to this bug.