Crash of PHP 4.3.x, having a big array

From: Date: Thu, 18 Sep 2003 15:56:55 +0000
Subject: Crash of PHP 4.3.x, having a big array
Groups: php.general 
Request: Send a blank email to php-general+get-163021@lists.php.net to get a copy of this message
Servus, I got a crash of 4.3.x under Apache and direct call of php.exe under windows, when the script creates a huge array. Source: ... for ( $nCounter = 0; $nCounter < $nAmount; $nCounter++ ) { $aszExtracted [ $szPlayerID ] [ $nUnit ] [ 'type' ] = $aszUnit [ 'type' ]; $aszExtracted [ $szPlayerID ] [ $nUnit ] [ 'job' ] = $aszUnit [ 'job' ]; $nUnit++; } .. When $nAmount has a value between 100.000 and 1.500.000, PHP and Apache crashes with an exception fault AFTER having processed it. I think it crashes during the cleaning up of memory or internal variables. Any suggestions or help, how to get a better description of this problem, Thanks, Martin Brenn

« previous php.general (#163021) next »