https://support.mozilla.org/en-US/kb/firefox-uses-too-many-c...
If it is still happening after you try those, use https://perf-html.io/ and share a profile.