Nicolas Guilhot wrote: > Hi all, > I need to limit the amount of memory that a script can use. Is there a > function that I can use to tell the script to die if its memory usage > becomes greater than $MAX_MEMORY ! Or maybe, I could use a cron job to > monitor processes and kill them if they become too big ? > > Thanks for your help. >
Enable memory limit when you configure (--enable-memory-limit) Read php.ini-dist/recommended. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]