gielberkers.com
Prevent the generic 'Killed' error in your PHP script - Giel Berkers dot com
I had a very memory consuming task in PHP. The server gave a Killed-error. I changed my script to fix this problem, so if this article might help you