Re: Temporarily overriding memory limit in extension
| From: | Stanislav Malyshev | Date: | Fri, 01 Dec 2006 18:11:48 +0000 |
| Subject: | Re: Temporarily overriding memory limit in extension | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26750@lists.php.net to get a copy of this message | ||
Hi Some of my PHP scripts use a large volume of memory. Is there a way I can: 1) Increase the script memory limit, and 2) Force a garbage collect at script end (and reset the limit).From PHP, I guess you could do ini_set("memory_limit"), unless you are running in safe mode. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/