It would be great if they could roll such a feature into a convenient UI. Just a magic "Firefox, whatever you are doing.. knock it off" button would be great. It could look at system memory usage and CPU usage, determine if either is high enough that it might cause user distress, and kill whatever tabs are the most likely offenders.