Closed Bug 1660407 Opened 4 years ago Closed 4 years ago

GPU process uses huge amount of RAM and CPU

Categories

(Core :: Graphics: WebRender, defect, P2)

79 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: frank.zimmer, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached file memory-report.json.gz (deleted) —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Using FF with same profile as ever - now Webrender in this version is enabled by default - in former versions i had enabled by about:config

Actual results:

Now, enabled by default, GPU process is growing up to more than 3 GB of RAM (NOT GPU Memory!) and when Browser gets idle this GPU process is eating up 25% of my Qud Core CPU (AMD Ryzen 4700U).
First when i start using FF, just only selecting one TAB and doing nothing else inside, CPU is going down again, RAM for the GPU stays as it is.

Expected results:

Clearly no RAM consumtion if more than 3G, in former Versions RAM consumption of my FF with that profile was never higher than 1.4G

Attached file aboutSupport.txt (deleted) —

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Just discovered a potential thing:
This site, a larger german on-line shop, was the selected(foreground) tab.
In this case RAM of GPU process increases approx. 0.5 MB per second.

https://www.tchibo.de/meine-glanzleistung-t400116124.html

If i tick any other tab the GPU RAM usage stays more or less constant. I do nothing inside this tab/website, just keep it in foreground.
Even during this time tab is selected CPU of this process is at around 5% on my system.
When selecting another tab CPU goes down to ~0%

Closing this tab frees quite some memory on the GPU process and from then FF behaves normaly.

Severity: -- → S2
Priority: -- → P2
Blocks: wr-memory

The memory reports shows it is almost entirely heap unclassified. The STR suggests this may be another case of bug 1640564 in disguise.

Hi Frank, can you please check this issue again and see if the issue still occurs now that the Bug 1640564 is fixed ?

Flags: needinfo?(frank.zimmer)

Unfortunately exactly this webpage is no longer available, so in the end i cannot test this.
And it was exactly on this specific page of that web shop, other pages did not lead to the described behavior.
Means there was some resource on that pages which leads to the memory problem

Flags: needinfo?(frank.zimmer)

Since this issue may have been fixed by Bug 1640564 and it does not occur on any other page I will close this issue as Works for me but in case a different page might cause the same issue or a new Test cases is provided we can definitely reopen it.

Thank you for all the info on this issue.

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

Attachment

General

Creator:
Created:
Updated:
Size: