27
Jul

memory size of 8388608 exhausted

终于遇到了传说中的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

, ,

Bookmark and Share 17fav 收藏本文

引用地址:http://www.underone.com/2007/07/27/memory-size-of-8388608-exhausted/

抢楼还有机会


  1. adminReply to this comment Says @ 07-07-27 6:57 pm (1)
  2. 现在已经不是虚拟主机咯~~~~~~~~

    underoneReply to this comment Says @ 07-11-5 5:22 pm (2)

要说点啥就在这吧