#35223 [Opn->Fbk]: Memory Leak (odbc_connect and odbc_close)
| From: | sniper@php.net | Date: | Tue, 15 Nov 2005 08:31:40 +0000 |
| Subject: | #35223 [Opn->Fbk]: Memory Leak (odbc_connect and odbc_close) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88184@lists.php.net to get a copy of this message | ||
ID: 35223
Updated by: sniper@php.net
Reported By: manelcaro at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: ODBC related
Operating System: Windows 2003 Server
PHP Version: 4.4.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
And use the PDO ODBC.
Previous Comments:
------------------------------------------------------------------------
[2005-11-15 09:25:10] manelcaro at gmail dot com
Description:
------------
We have a memory leak using Apache 2.0.54 and php 4.4.1 with
odbc_connect and odbc_close functions. The memory leak is about 150 KB
using only this two functions. We use odbc for connect to MAXDB
database version 7.6.00.12. It produce a crash of Apache when it have
about 100 MB.
Thanks.
Manel.
Reproduce code:
---------------
<?php
$cID= odbc_connect(...);
----
more code here {we try without the code and only with this functions
and the result is the same }
----
if($cID){
odbc_close($cID);
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35223&edit=1