Re: unable to unset reference
| From: | Richard Lynch | Date: | Thu, 21 Feb 2008 17:10:18 +0000 |
| Subject: | Re: unable to unset reference | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269800@lists.php.net to get a copy of this message | ||
On Wed, February 20, 2008 9:23 am, Sylvain R. wrote:
> I would like to implement it in order to delete automaticly from
> memory
> useless objects.
> It can be really useful for example to make schedulers in PHP in order
> to
> avoid "max memory usage exceeded" errors.
If you really don't need it any more, unset all the variables pointing
to it.
PHP Garbage Collects it.
Problem solved.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?