ID:               21269
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         Unknown/Other Function
+Bug Type:         COM related
 Operating System: Windows XP Pro
 PHP Version:      4.2.2
 New Comment:

The problem still appears in PHP 4.3.0


Previous Comments:
------------------------------------------------------------------------

[2002-12-29 11:15:10] [EMAIL PROTECTED]

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

Reply via email to