Firefox can indeed work with only 1GB, although so little RAM imposes some restrictions on the OS and desktop used. Here are two VM examples: Alpine Linux and DietPi, both using XFCE as desktop manager, with Firefox plus HN front page loaded and one terminal window.