Re: Re: drastic memory consumption with a sequenceof exceptions
| From: | Derick Rethans | Date: | Wed, 10 Aug 2005 12:45:37 +0000 |
| Subject: | Re: Re: drastic memory consumption with a sequenceof exceptions | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17780@lists.php.net to get a copy of this message | ||
On Wed, 10 Aug 2005, Ron Korving wrote:
> Perhaps it would require an revised garbage collection mechanism? If that's
> the case and you think it's worth investing time in, I think it would be
> something for the next major version (6).
I think it would be better not to abuse Exceptions like this. They are
for exceptional states, which should result in a graceful shutdown of
your application. In that case 'leaking' the memory to the end of the
request isn't a real problem anyway.
Derick