I am talking from experience with an M1 & 8GB RAM. I had to restart either the browser or the YouTube browser processes at least once every couple days to stop the whole system from lagging.