|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-15 09:25 UTC] 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);
}
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 11:00:01 2025 UTC |
I test php5-win32-lastest.zip and the result is the same, I test two methods: 1) with odbc_connect and odbc_close 2) with PDO $dbh = new PDO('odbc:NMSTOC', "xxxx", "xxxx"); $dbh = null; Thanks Manel