• 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)
  • Well, I’m NOT fluent with PHP etc., but this would seem to be a server issue, would it not?

    Thread Starter till

    (@till)

    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. 🙁

    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

    (@till)

    WordPress 1.2.2 🙁

    So I guess I need to update as soon as it comes out, right?

    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.