Re: Importance of DB::disconnect() and DB_Result::free()
| From: | Stig S. Bakken | Date: | Mon, 17 Jun 2002 20:46:38 +0000 |
| Subject: | Re: Importance of DB::disconnect() and DB_Result::free() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1697@lists.php.net to get a copy of this message | ||
On Mon, 2002-06-17 at 21:56, Culley Harrelson wrote:
> How important is it to call DB::disconnect() and DB_Result::free() when you
> are done with them? Will the be automatically destroyed?
At the end of the request, PHP cleans up everything. But if you are
running on a busy server, cleaning early reduces your overall RAM usage.
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb