I use my M1/8GB Air pretty much exclusively for web browsing and run into 'out of application memory' errors on a regular basis. Relaunching Safari generally solves the problem. It's just such a bad look for Apple to be selling premium priced products that can't do the most basic task people want them for without throwing errors.