#21269 [Sus->Csd]: Memory leak with Windows COM-Support?
| From: | phanto@php.net | Date: | Thu, 30 Jan 2003 02:04:06 +0000 |
| Subject: | #21269 [Sus->Csd]: Memory leak with Windows COM-Support? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31645@lists.php.net to get a copy of this message | ||
ID: 21269
Updated by: phanto@php.net
Reported By: nbi@gmx.de
-Status: Suspended
+Status: Closed
Bug Type: COM related
Operating System: Windows XP Pro
PHP Version: 4.2.2
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-01-18 16:12:40] phanto@php.net
will be fixed in php5 :)
------------------------------------------------------------------------
[2002-12-29 12:28:26] nbi@gmx.de
The problem still appears in PHP 4.3.0
------------------------------------------------------------------------
[2002-12-29 11:15:10] nbi@gmx.de
COM-Support on Apache 1.3.27 with PHP 4.2.2 (as Apache dso) seems to
have a memory leak. Every time I run the following code, memory usage
of Apache is increased by about 86 kB:
$cid = new COM('ADODB.Connection');
$cid->Open ("File Name=udlfile.udl");
$rid = $cid->Execute ("SELECT * FROM test");
$rid->Close();
$rid->Release();
$rid = NULL;
unset ($rid);
$cid->Close();
$cid->Release();
$cid = NULL;
unset ($cid);
Is it really a memory leak or just my way of trying to free memory
resources?
Cheers, Norbert
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21269&edit=1