Closed Bug 1941746 Opened 1 month ago Closed 26 days ago

Frequent freezes due to GC

Categories

(Core :: Performance, defect)

Firefox 133
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: coolcat_the_best2, Unassigned)

References

Details

Attachments

(3 files)

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

Steps to reproduce:

I went and watched a video on Youtube. It's not specific to a certain video. It happens on all of them.

Actual results:

Every 10-20 seconds the website freezes and becomes unresponsive. The video keeps playing, but other things, like pausing, going back/forwards 5 seconds, scrubbing the timeline, opening the side menu and writing in the chatbox all don't work for a couple of seconds.

In task manager I see a large spike in CPU usage and in about:processes I see the same for the youtube tab.

When using the profiler (https://share.firefox.dev/4j9FmdL) I see that it's busy garbage collecting.

Expected results:

IMO Firefox should never be stuck doing GC for the 6 seconds that it did in the profile, especially if it happens multiple times per minute.

The Bugbug bot thinks this bug should belong to the 'Core::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Performance
Product: Firefox → Core

The profile shows time in Cycle Collection.
Bug 1939295 looks very similar.

See Also: → 1939295

This bug was moved into the Performance component.

:coolcat_the_best2, could you make sure the following information is on this bug?

  • ✅ For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/, upload it and share the link here.
  • For memory usage issues, capture a memory dump from about:memory and attach it to this bug.
  • Troubleshooting information: Go to about:support, click "Copy raw data to clipboard", paste it into a file, save it, and attach the file here.

If the requested information is already in the bug, please confirm it is recent.

Thank you.

Flags: needinfo?(coolcat_the_best2)
Attached file memory-dump.json.gz

Here's a memory dump.

Flags: needinfo?(coolcat_the_best2)

Made another one on a video that froze more often

What version are you using?
The bug 1939295 noted by Mayank Bansal comment was fixed in 134.0.1, so make sure tu use at least that version.

Flags: needinfo?(coolcat_the_best2)
Attached file about-support.txt

Here's the about:support data

I'll try 134.0.1 to see if the problem persists.

Flags: needinfo?(coolcat_the_best2)

The problem seems to be fixed!

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

Attachment

General

Created:
Updated:
Size: