Re: Give the Language a Rest motion (fwd)
| From: | Stas Malyshev | Date: | Thu, 16 Jun 2011 16:32:22 +0000 |
| Subject: | Re: Give the Language a Rest motion (fwd) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53335@lists.php.net to get a copy of this message | ||
Hi!
I'm not saying there aren't any. There are known leaks in compile_file() when you throw an exception like that, so if you call a huge amount of these within a single request, you are going to have problems. But thatYou actually can't call huge amount of these in one request, as this particular leak is caused by bailing out from zend_execute_scripts, which causes main op array not be freed. zend_execute_scripts() is called only once, so you can't have this leak multiple times as far as I can see. Whatever caused the original problem, it's highly unlikely it is this leak. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227