[PHP] Limit script memory usage !!

2001-12-20 Thread Nicolas Guilhot
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

RE: [PHP] Limit script memory usage !!

2001-12-20 Thread Jerry Verhoef (UGBI)
There is a setting in de php.ini called memory_limit. Remember it is in bytes! Jerry -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 4:09 PM To: Php General MailingList Subject: [PHP] Limit script memory usage !! Hi all, I need