因为数据量有一点大,在生成sitemap时,出错了

Bug,需求以及想法
回复
kalvin
帖子: 25
注册时间: 2009年 5月 27日 16:00
联系:

因为数据量有一点大,在生成sitemap时,出错了

帖子 kalvin »

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /var/Typecho/Db/Adapter/Mysql.php on line 92

请问有什么办法可以修正呢?
kalvin
帖子: 25
注册时间: 2009年 5月 27日 16:00
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 kalvin »

自己解决,在config.inc.php中加入

ini_set("memory_limit","520M");
mybg
帖子: 508
注册时间: 2010年 5月 27日 16:20
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 mybg »

没有遇到过…打个记号
头像
zyzzc
帖子: 648
注册时间: 2009年 9月 25日 20:11
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 zyzzc »

汗,这得多少数据。。= =
cloudend
帖子: 17
注册时间: 2009年 4月 24日 05:54

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 cloudend »

是啊 要多少数据呢。。sitemap 插件 可以设置个上限就好了。
mybg
帖子: 508
注册时间: 2010年 5月 27日 16:20
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 mybg »

我有2911个文章,生成很正常啊
yaoge
帖子: 307
注册时间: 2010年 6月 5日 08:09
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 yaoge »

目前日记没超过1000
kalvin
帖子: 25
注册时间: 2009年 5月 27日 16:00
联系:

Re: 因为数据量有一点大,在生成sitemap时,出错了

帖子 kalvin »

12万
回复