High Ram Usage in Youtube tab

Hello,

When I watch the same video repeatedly or spend a long time on a single YouTube tab in a Private Window, the RAM usage of that specific tab skyrockets to 7-8 GB.

Here are my system details and what I have found so far:

  • GPU: Nvidia GeForce MX330 (2 GB VRAM) + Integrated Graphics
  • Mode: Private Window
  • Hardware Acceleration: This setting is currently DISABLED (brave://settings/system → “Use graphics acceleration when available” is turned OFF).
    RAM : 12 GB

I also checked the “Stats for Nerds” on YouTube, and the video is using the AV1 codec:

  • Codecs: av01.0.08M.08.0.110.05.01.06.0 (399) / opus (251)

Since I have Hardware Acceleration disabled, my CPU is decoding this AV1 video via software. The massive memory leak seems specifically tied to the software decoding of the AV1 codec during repetitive playbacks. The browser completely fails to clear the cached video frames from the system RAM upon replay, causing it to accumulate continuously.

Is this a known memory leak issue within Brave’s software decoding mechanism for AV1? Are there any specific flags (brave://flags) or video codec settings I should modify to prevent this?

Thank you in advance for your help.

I would test with: Settings → System → Use graphics acceleration when available → ON

Look at: brave://gpu and: brave://media-internals while the video is playing.

The latter can tell you which decoder is actually being used.

I am cautious / uncertain about changing random brave://flags … that can lead to you having to Reset the lot of them or all of them.

Monitor both the Brave and Windows OS task managers.

And, ask ChatGPT: “How do I test for a Brave Browser memory leak?”


Found (somewhat related):

Interesting:

Hi again, thanks for the guidance. I followed your steps and tested with Hardware Acceleration turned ON, while monitoring brave://media-internals and the task managers.

Here is what I found:

  • The catastrophic 7–8 GB memory spike is completely gone, which is a huge relief.

  • However, when I repeatedly loop, scrub, or seek through YouTube videos, the RAM usage still gradually creeps up and stabilizes around 1.6 GB.

  • Looking at brave://media-internals, the decoding is properly handled by the GPU now, but it seems the media pipeline or buffering system still holds onto cached video data and doesn’t fully release it during heavy scrubbing over time.

Is this gradual increase up to ~1.6 GB expected behavior for Chromium’s media cache, or is there a minor memory retention quirk in the pipeline? Thanks again for your help!

At the risk of restating the obvious, see if UBlockOrigin and/or Youtube Rabbithole extensions make a difference. Youtube loads a ton of extraneous and distracting stuff on every page and all of it uses resources.