From:             [EMAIL PROTECTED]
Operating system: Windows XP Pro
PHP version:      4.2.2
PHP Bug Type:     Unknown/Other Function
Bug description:  Memory leak with Windows COM-Support?

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 bug report at http://bugs.php.net/?id=21269&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21269&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21269&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21269&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21269&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21269&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21269&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21269&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21269&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21269&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21269&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21269&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21269&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21269&r=isapi

Reply via email to