I terminate Firefox and reopen it any time it’s chewing up my RAM, but I usually don’t have more than 500 tabs open at any one time. My tabs persist when Firefox starts again, but tabs don’t fully load until I click on them again. This saves my memory from getting chewed up immediately, and can usually go a week or so before I need to do it again.
Remember, the wars are fought against brown people, and US soldiers are poor people. Both of these groups are perfect raw materials for the military industrial complex to convert into profit.