|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-03-01 12:25 UTC] andi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 16:00:01 2025 UTC |
this is what i did: <? for ($x = 0; $x < 500000; $x++) { $test[$x] = ""; } echo "DONE<BR>\n"; flush(); sleep(60); ?> after running this i found apache useing 65MB of memmory 25520 nobody 0 0 67212 65M 2180 S 0 0.0 26.0 0:04 httpsd and it doesn't matter if you do this: $test[$x] = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AA"; it keeps 65MB I find this strange... Keep up the good work Greetz, Wico