• How can i fix it?
    I know on 2.5.1 i needed to increase the memdory, but i don’t know how in 2.6. in the wp-config.php there no define to increase memory.
    What exactly do i have to do to fix, this please help me.
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home1/ebookrea/public_html/wp-includes/kses.php(900) : runtime-created function on line 1

Viewing 15 replies - 16 through 30 (of 35 total)
  • yeah, it worked for me too πŸ™‚

    Here’s the full solution in the cleanest possible way:

    1. Create a file called php.ini in the root of your site (if you are using a hosted addon domain, this must be in the subdirectory of that site)
    2. In php.ini, enter a line that says
      memory_limit = 64MB
    3. In your site’s .htaccess (being a WordPress blog, I’m assuming there is one), enter the following line
      SetEnv PHPRC /<unix path to the directory where php.ini is>/
      (keep the slashes)
    4. Edit wp-config.php and enter the following line
      define('WP_MEMORY_LIMIT', '64M');
    5. Upload the new files to the server

    Oh, and don’t tell your hosting provider you’ve done this…

    Oops, I’ve checked my other sites after fixing the one with the problem and this solution killed them. However, I’ve removed the php.ini and the line in .htaccess and left only the line in wp-config.php and things are working OK.
    Arrrrrgh!

    great it worked

    through this problem long ago I was pounding.

    Is there some sort of memory leak in the WP query object? When attempting to run the upgrade from 2.7.1 to 2.8 I’m running out of memory.

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10259034 bytes) in /var/www/obsficated/wp-includes/wp-db.php on line 501

    Yes, kids, thats 128 MB of memory used up by PHP. We do have over 6000 posts and over 3000 pages. Any suggestions here? (other than increasing the memory again?)

    It works, thank you so much…

    it works for me too. Thank you

    Kumitey

    Thanks a lot Jarod

    jarod.tm you rock!!! Thank you so much!!!!

    for those who have changed the php.ini memory_limit, but it still doesn’t work, please think about to restart your web sever.

    Just wanted to thank you Jarod for your help, helped me as well.

    Increasing memory to 64M in wp-settings.php worked for me – thanks!

    Thanks Jarod, work totally for me!

    I’ve also been having the same problem, and found that one particular plugin was causing it: WP Super Cache.

    Deactivating the plugin didn’t seem to help, I had to delete it completely. Now that it’s gone, I have no memory issues – 32M is plenty.

Viewing 15 replies - 16 through 30 (of 35 total)
  • The topic ‘Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate’ is closed to new replies.