Memory problem with large array

From: Date: Mon, 29 May 2000 18:13:08 +0000
Subject: Memory problem with large array
Groups: php.general 
Request: Send a blank email to php-general+get-559@lists.php.net to get a copy of this message
Why does this script: unset($resultArray); for ($i = 0; $i < 500000; $i++) $resultArray[] = 1000; take up roughly 32 megs before ending? That seems really wrong to me... (I'm using PHP 4.0.0 and apache 1.3.3 on RedHat 6). Jeff Morrow

« previous php.general (#559) next »