How to make firefox behave
This script is for Linux, it can be run with bash, if you use anything else, you're ripe enough to write your own script ;-)
I did this when every day I got home, I caught firefox swapping out and killing my hdd in the process. I got over 3,5 gigs of ram+swap, i'm sure it'll eventually get further.
Warning, I can be liable of no harm done to you, your marriage, or any war anywhere.
You can do whetever you want with this, use it at your own risk
Also, note that the memory limit in the script is 1 gigabyte, you can change this by changing the FFMAXMEM in the script.
after creating the script, you can add it to your crontab.
all I did was execute
crontab -e
then I added this line:
15,30,45,00 * * * * /home/johnny/bin/killff.sh
this makes the script execute every fifteen minutes
