开发者

Wordpress memory limit

I am having only 180 posts on my site. 200 visitors per day. Still facing fatal error: out of memory issu开发者_运维知识库es when i visit some admin page or when i edit/add post.

I can increase the memory limit through wp-config.php. But, would it be a permanent solution? If the problem can be occurred on so less posts and visitors then it will really arise when posts would be increased.

Can any one tell/suggest which hosting plan would be suitable to host wordpress blogs?

Or any plugin like runtime memory manager so that i can host my blog on any server?

Or some tips so that i can minimize the memory usage?

I already had deactivated most of the plugins. using gzip response, using wp super cache, optimizing DB on weekly basis, and planning to write short posts

Memory Limit 64 MB


Add to wp-config.php:

define( 'WP_MAX_MEMORY_LIMIT' , '512M' );
define( 'WP_MEMORY_LIMIT' , '512M' );


paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’

define( 'WP_MEMORY_LIMIT', '256M' );

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜