Date: 08/30/99
- Next message: hugo <email protected>: "[PHP-DEV] Bug #2190: undeclared (first use in this function)"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2188 Updated: Freetype Not Compiled In"
- Next in thread: Wico de Leeuw: "Re: [PHP-DEV] PHP 4.0 Bug #2189: mysql_free_result doesn't free memmory"
- Reply: Wico de Leeuw: "Re: [PHP-DEV] PHP 4.0 Bug #2189: mysql_free_result doesn't free memmory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: wico <email protected>
Operating system: linux redhat 6
PHP version: 4.0 Latest CVS (30/08/1999)
PHP Bug Type: MySQL related
Bug description: mysql_free_result doesn't free memmory
<?
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
*/
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: hugo <email protected>: "[PHP-DEV] Bug #2190: undeclared (first use in this function)"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2188 Updated: Freetype Not Compiled In"
- Next in thread: Wico de Leeuw: "Re: [PHP-DEV] PHP 4.0 Bug #2189: mysql_free_result doesn't free memmory"
- Reply: Wico de Leeuw: "Re: [PHP-DEV] PHP 4.0 Bug #2189: mysql_free_result doesn't free memmory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

