PHP的设置里有个 memory_limit 选项,一直没见过超过这个限制会咋样,见天终于看到了!哈哈!
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 80000001 bytes) in D:/PHP_Server/phb/memory.php on line 5
不过这个好像不是标准1024进制的转换....-_-# (PHP 5.2.4)
顺便附上PHP脚本(PHP版本 5.2 以上有效)