If you are using Firefox with multiple tabs open and you are experiencing high RAM usage you can fix the issue with setting this tweak in about:config to TRUE (disabled by default):
browser.tabs.unloadOnLowMemory -> true