Your instructions in Section 2 were particularly helpful for me. I was not aware of the Firefox task manager. It helped me identify my mysterious problem, which was the McAfee WebAdvisor extension. This extension, after updating on 10/5/2023, would eat up 2-3 GB of memory. I was able to identify this offending extension by trial and error, and after disabling the extension I no longer have memory issues.
6 Ways to Fix Firefox Using a Lot of Memory on Windows Device
Does Mozilla Firefox hog all the memory? Here are six ways to help fix Firefox using a lot of memory on your desktop.