Re: Give the Language a Rest motion (fwd)
| From: | Pascal COURTOIS | Date: | Thu, 16 Jun 2011 08:05:22 +0000 |
| Subject: | Re: Give the Language a Rest motion (fwd) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53318@lists.php.net to get a copy of this message | ||
Le 16/06/2011 09:56, Stas Malyshev a écrit :
> On 6/15/11 11:38 PM, Pascal COURTOIS wrote:
>> as I said earlier, test case was reduced to:
>
> The leaks you'll be seeing in this code is probably caused by the
> fact that main function (i.e. global context) is not destroyed when
> exit() is called, since . It can be argued as a bug, but very minor
> one and totally unlikely to cause any problems both because the leak
> is minuscule and the fact that memory manager will clean it up anyway
> on shutdown.
If you call "minuscule" a leak that requires more than 128Mb as it
normally requires about 4Mb, then it's minuscule but whatever you name
it it just does not run.
> I would have very hard time believing this very
> short-time leak can cause any problems in any production code.
It does