PHP 4.0 Bug #2209: [memmory leak?] mysql_free_result won't free memmory

From: Date: Wed, 01 Sep 1999 09:09:37 +0000
Subject: PHP 4.0 Bug #2209: [memmory leak?] mysql_free_result won't free memmory
Groups: php.dev 
Request: Send a blank email to php-dev+get-10405@lists.php.net to get a copy of this message
From: wdl@kabelfoon.nl Operating system: Linux PHP version: 4.0 Latest CVS (01/09/1999) PHP Bug Type: Misbehaving function Bug description: [memmory leak?] mysql_free_result won't free memmory /* I think this is a better type for bug #2189 */ <? for ($x = 0; $x < 30000; $x++) { $result = mysql($db_name, "select * from page where page = 'page$x'"); $array = mysql_fetch_array($result); echo "id:" . $array["page_id"] . "<BR>"; flush(); mysql_free_result($result); } echo "DONE"; ?> /* this will eat all memory and crash finnaly the machiene same script works fine under 3.12 */

« previous php.dev (#10405) next »