错误:致命错误:内存不足
Fatal error: Out of memory (allocated 123469824) (tried to allocate 71 bytes) in /home/test/tset/tset.net/public_html/test/simple_html_dom.php on line 1236
是的,我知道,许多问题都是。但我没有意识到避免这个错误是多么容易。如果发生此错误,我需要从下一个值开始循环。
代码:
$html = file_get_html('http://www.windowsaffinity.com/?p=14721');
编辑: 是 * 最大内存大小不足 *
请发表您的代码。您的PHP代码使用的内存超过php.ini中设置的内存容量。 – Raptor
这里有问题吗? –
我明白这个错误,我不知道如何简单地避免它。 – Mediator