I have a program in my server which is a memory hogger. Every time its memory consumption hit certain number, it will stop entertaining users’ request. Which in turn, the users will call me, and ask me to restart that program.
So before I get down and get my hands dirty, I googled for solutions. But the closest I can get is:
So I guess I need to write it on my own. Enlighten me please