Re: Give the Language a Rest motion (fwd)

From: Date: Thu, 16 Jun 2011 12:03:44 +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-53330@lists.php.net to get a copy of this message
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-php@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

« previous php.internals (#53330) next »