memory size of 8388608 exhausted

Posted in 软硬一本 @ Jul 27th, 2007 by underone |

终于遇到了传说中的memory size of 8388608 exhausted。

放狗搜了一下,要改配置的php.ini,咱用的是虚拟主机,显然是没戏了。后来找到的办法是在wp-config.php首行添加ini_set('memory_limit', '-1');

<?php
ini_set('memory_limit', '-1');
// ** MySQL settings ** //

接着,问题解决了,奇怪的事情也发生了。之前使用导出xml的时候,4月份已经导出13MB之多的文件了,刚才重新试验了一下,导出的却又恢复了比较正常的1.7MB。还来不及比对,总之很奇怪。

本文精巧网址: http://go.6.cn/5rim

延展阅读

One Response to “memory size of 8388608 exhausted”

  1. underone  Reply to this comment

    现在已经不是虚拟主机咯~~~~~~~~

Leave a Reply ↓

收藏 & 分享

Powered by 17fav.com