Title: exceeding allocated memory
Last modified: August 18, 2016

---

# exceeding allocated memory

 *  [till](https://wordpress.org/support/users/till/)
 * (@till)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/)
 * Hello,
 * I just saw a problem now with wordpress. We have over 300 entries in a category
   and I got this “exceeded allocated memory” PHP error when I clicked on the category.
 * I temporary fixed it by not displaying how many comments an entry has when you
   click on the category archiv.
 * I’m not on top of wordpress and so on, but can anyone tell me if there is a tweak?
   I’m fluent with PHP and various SQLs, so if someone could give me a hint maybe.
 * Thanks,
    Till

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140393)
 * Well, I’m NOT fluent with PHP etc., but this would seem to be a server issue,
   would it not?
 *  Thread Starter [till](https://wordpress.org/support/users/till/)
 * (@till)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140398)
 * No, it’s more or less a sign of ineffecient database queries, variable use and
   so on. The server should be really fine.
 * I am not going to increase the value because a script tries to consume more than
   it is supposed to. 🙁
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140407)
 * Ugh. What version of WP is this happening on? I know that the next version has
   has a lot of code cleaned up over version 1.2.2.
 *  Thread Starter [till](https://wordpress.org/support/users/till/)
 * (@till)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140543)
 * WordPress 1.2.2 🙁
 * So I guess I need to update as soon as it comes out, right?
 *  [rustindy](https://wordpress.org/support/users/rustindy/)
 * (@rustindy)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140561)
 * PHP’s default value of 8MB for maximum script memory is very often inadequate
   for large sites. Unless your server is extremely low on available memory, increasing
   this to 16, 24, or even 32 (which is one of the recommended values) will have
   no adverse effects and should get rid of that error message.
 * So if you adjust the “memory_limit” value in your PHP.ini file to 24M or 32M,
   it should be fine (you probably have to restart the web server after the change
   to make it take effect).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘exceeding allocated memory’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [rustindy](https://wordpress.org/support/users/rustindy/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/exceeding-allocated-memory/#post-140561)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
