Re: Give the Language a Rest motion (fwd)

From: Date: Thu, 16 Jun 2011 17:36:54 +0000
Subject: Re: Give the Language a Rest motion (fwd)
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-53339@lists.php.net to get a copy of this message
On 06/16/2011 05:32 PM, Stas Malyshev wrote: > 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 that > > You 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. I was thinking it was a bunch of nested eval()'s that might cause this. An exit from within an eval'ed op_array would cause this same leak I think. But yes, I agree, in order to leak 128M or whatever it was he said, it is unlikely that it is due to this. -Rasmus

« previous php.internals (#53339) next »