PaulSpoerry.com

You found me… insights on technology, philosophy, Windows, hacking and more.
  • Home
  • Archive
  • Contact
  • Categories
  • Search
  • About

Wordpress and memory limits

PaulSpoerry | September 16, 2008

If you run Wordpress and ever receive a message such as “Allowed memory size of xxxxxx bytes exhausted” then you’re not alone. Resolving the error isn’t a big deal though. As of v2.5 the WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP.

This wasn’t in my config already, but simply adding it fixed the issue.

This setting increases PHP Memory only for WordPress, not other applications.

Please note, this setting may not work if your host does not allow for increasing the PHP memory limit–in that event, contact your host to increase the PHP memory limit. Also, note that many hosts set the PHP limit at 8MB.

Increase PHP Memory to 64MB
define(‘WP_MEMORY_LIMIT’, ‘64M’);
Increase PHP Memory to 96MB
define(‘WP_MEMORY_LIMIT’, ‘96M’);

Reblog this post [with Zemanta]

Post to Twitter Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit Post to StumbleUpon Stumble This Post

Related posts:

  1. 4GB Memory Limit In 32-Bit Windows is Bogus
  2. Top 5 Wordpress Tab Systems

Categories
Code, Wordpress
Tags
FAQs Help and Tutorials, Laconica, languages, memory, MySQL, php, Programming, Wordpress
Comments rss
Comments rss
Trackback
Trackback

« 300 jquery css mootools and js navigation menus FoxTab – Awesome FireFox tab switching »

Leave a Reply

Click here to cancel reply.

You must be logged in to post a comment.

Recent Posts

  • FCC releases Internet speed test tool
  • Microsoft shows games on Mobile, PC, and Xbox
  • Google Voice Explained
  • Windows Mobile 7 to be announced, 6.x to become free
  • Microsoft finally patches 17-year-old bug

Popular Posts

  • µTorrent 1.8.3 Final (uTorrent 1.8.3)
  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • Google Chrome’s JavaScript Engine Is CRAZY FAST
  • 20 Classic Hip Hop Album Covers Redone With Legos
  • Windows 7 Benchmarks – XP vs Vista vs 7

Recommended Hosting

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox