WordPress plus K2 and plugins needed more RAM

Well, if you hadn’t noticed, Niles Gibbs was down since Monday. Seems my webhost had a hard drive issue, and for some reason the PHP installation got borked.

Since then I kept getting PHP errors in the following format:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in a php script on line number

So I poked around and eventually found that the culprit was my choice of the RAM-heavy theme K2, and extensive use of plugins.

My final solution was to upload a file named php.ini to both my root and wp-admin folders with the following line:

memory_limit = 32M

And voila, I’m back in business.

Bookmark WordPress plus K2 and plugins needed more RAM


About this entry