RE: [PHP] huge memory leaks.
| From: | Giovanni Tummarello | Date: | Wed, 22 Nov 2000 16:00:17 +0000 |
| Subject: | RE: [PHP] huge memory leaks. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26646@lists.php.net to get a copy of this message | ||
On 22 Nov 00, at 9:39, Michael Geier wrote:
> are you making sure to do garbage collection after the fact?
>
> clear variables after use - unset()
> clear sql results after data is used - pg_freeresult() )
from the PHP manual , these functions are theoretically not needed since
everything should be cleared in the end
"All result memory will automatically be freed when the script is finished"..
i have tried with unset however and nothing changed really.
Giovanni Tummarello
tummarel@ascu.unian.it
Fight Spam! Join CAUCE (Coalition Against Unsolicited Commercial Email)
at http://www.cauce.org/ and tell your Congresspeople how
Spam mailings
hurt you. Help protect genuine Internet commerce: Outlaw UCE Spamming.