An unusual high memory usage on Youtube related to a PY task

Description of the issue: When using YouTube as a website on browser, an unusual high memory usage is seen at a steady 6.4 GB (unrelated to video player quality) which is oddly connected to a python task that shows a similar, heavy memory usage on task manager. Usually/sometimes happens when watching something on YouTube right when the website starts getting obviously laggy and glitchy. Mentioned the python task, after ending the task, everything seems to turn back as ordinary. Isn’t related to any extensions since I had tried WITH extensions and WITHOUT while using YouTube. Isn’t related to any malware tamper as well, as I checked if that from reliable 3rd parties.

Exact URL of the website in question: https://www.youtube.com/

Did the issue present with default Shields settings? (yes/no) yes

Does the site function as expected when Shields are turned off?
no

Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. (yes/no): no

Does the site work as expected when using Chrome? yes

Brave version (check About Brave): V.1.74.48

Worth study:

Youtube lagging - #7 by Saoiray