WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Memory?

[Resolved] Memory?

  • I am trying to install a plugin but the following comes up:

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

    and before this would display:

    Fatal error: Allowed memory size of 33554432 bytes exhausted
    > > (tried to allocate 529977 bytes) in
    > > /home/ftpusername/public_html/wp-includes/http.php
    > > on line 1358
    > >

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    @macmanx

    Here are four ways to increase the memory allocation:

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    2. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '64M');
    
    4. Talk to your host.

    Thank you!

    Moderator James Huff

    @macmanx

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Memory?’ is closed to new replies.
Skip to toolbar