In PHP, when the script consume more than memory_limit value, the script stop with an error. How can I add a warning level: if my script consumes more than 90Mb I have a warning in the log file, but the script go on, and still crashes if it consumes more than 128Mb? In PHP, when the script consume more than memor