I have the same problem with a RAM leak, the only thing that more or less helps is to limit the consumption of RAM in GX Control, and even then, this does not solve the problem with the YouTube tab freezing and memory leaks, and it works after a time or two. My computer is not that weak but not powerful either, but before this everything worked fine and there was no RAM leak.