On 06/16/2011 12:42 PM, Rasmus wrote:
> On 06/16/2011 11:40 AM, Pascal COURTOIS wrote:
>> Le 16/06/2011 12:31, Rasmus a écrit :
>>> On 06/16/2011 11:03 AM, Pascal COURTOIS wrote:
>>>>  If you followed the thread you have seen the reduced test case is
>>>> VERY short and the ONLY constructions involved are user functions and
>>>> exceptions. FULL STOP. Not even a single addition nor a loop nor nothing.
>>>> I can't imagine nobody uses user functions and exceptions.
>>>
>>> You might also consider that your particular case is rather unique. I
>>
>>   since decoder-...@own-hero.net could reduce the case from my original 
>> program in the conditions I stated, he could obvously detect the leaks.
> 
> 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 that
> is not something the average person hits, and again, they are all
> free'ed on request shutdown, so it isn't like it is a persistent leak.

I was bit unclear there. The cause of the leaks is the exit() in your
exception, not the exception itself.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to