WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate

  • ludovic116
    Member

    @ludovic116

    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 - 1 through 15 (of 35 total)
  • I’ve the same problem!
    How to solve?

    Please, help us!

    Ok, SOLVED:

    in wp-settings.php at line 13, increase from 32M to 64M!

    Bye.

    jarod.tm that worked excellently for myself as well! Thanks for the solution!

    NasheedsNow.com
    Member

    @nasheedsnowcom

    thanks jarod.tm ur a legend! it worked for me 😀

    Thanks, that fixed it for me too, but I am just wondering if increasing the memory allocation is only postponing a bigger problem…?

    NasheedsNow.com
    Member

    @nasheedsnowcom

    hmm was wondering the same thing…

    cassembers
    Member

    @cassembers

    Phew. I was trying to edit my php.ini memory and nothing was happening! I changed the wp-settings.php and it all works now. Thank you Jarod!

    I’ve this problem too, but not solved in my site.

    I increase from 32M to 64M in wp-settings.php and nothing hapened.

    Please, somebody help me!

    thanks

    webtvitaly
    Member

    @webtvitaly

    I’ve increased the memory as well and still have the problem, any suggestions or solutions??? Thanks in advance!

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /home6/webtvita/public_html/wp-includes/kses.php(1005) : runtime-created function on line 1

    rodfilardi
    Member

    @rodfilardi

    Uow… it worked for me too 😀
    You can see at http://www.rhodesign.com.br/blog/

    BernardBorealis
    Member

    @bernardborealis

    Your host may not allow the 32M to 64M increase, or they may have a setting which overwrites the change you made to your wp-settings.php. This is something which can also be changed in the php.ini or the .htaccess, depending on the host. Contact them and find out if they allow you to increase that limit and find out which method ought to be used.

    It makes more sense to add the line:
    define(‘WP_MEMORY_LIMIT’, ’64M’);`
    to wp-config.php – wp-settings.php will be overwritten when you upgrade, but if the value is already defined in wp-config then it uses what is set there.

    breakingjist
    Member

    @breakingjist

    I set my limit to 64mb in the php.ini, wp-settings, and wp-config files but no luck. I am still getting the error. My hosting company (fatcow) allows up to 64mb. What can i do?

    cabridges
    Member

    @cabridges

    Same problem, was missing 2 years worth of posts in export file. Changed the wp-settings after reading this, all is well. Whew! Thanks!

    ucsfstudent1
    Member

    @ucsfstudent1

    I deactivated a few plugins and that seems to fix the problem.

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