I don't have a lot of memory and sometimes, when I play video games, its get full and my computer start freezing, anything I do take more than 1 minutes before getting done that include mouse move and mouse click.
So what I want is to be able to kill some process I use and I know I can kill (like my Internet browser) before the memory get full so I have little more space left. Do you know a way to do it ?
In technical terms, what I want is that when the memory is almost full it trigger a script that will send a SIGTERM (order to close) to my Internet browser so my PC don't freeze and I can choose to save whatever I'm doing and reopen my browser or forget about my browser.
Thanks for your help.