#21269 [Opn->Sus]: Memory leak with Windows COM-Support?

From: Date: Sat, 18 Jan 2003 22:12:40 +0000
Subject: #21269 [Opn->Sus]: Memory leak with Windows COM-Support?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30527@lists.php.net to get a copy of this message
ID: 21269 Updated by: phanto@php.net Reported By: nbi@gmx.de -Status: Open +Status: Suspended Bug Type: COM related Operating System: Windows XP Pro PHP Version: 4.2.2 New Comment: will be fixed in php5 :) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#30527) next »