in reply to any way to control a memory leak

First let me say that you should follow tilly's advice to solve the problem. Having said that, you can temporarily write a monitoring process launched via cron to kill/restart the process if it reaches a threshold. Check out Re: Re: HTTP Daemonology for details.

Notes:

--Jim