• Resolved Christiaan

    (@christiaan)


    I’m getting this message when I upload an image:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2848 bytes) in /homedirectory/wp-admin/includes/image.php on line 147

    Sometimes the file will actually get uploaded properly. Sometimes not.

    If I add php_value memory_limit 32M to my htaccess file then I get a 500 Internal Server Error on my whole site.

    Any advice?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can try adding:
    define('WP_MEMORY_LIMIT', '64M');
    into your wp-config.php file.

    or, add:
    memory_limit = 32M ;
    to your php.ini (if you have access)

    or, just talk to your host.

    .. just a friendly reminder that had you put your topic title into the search box, you would have gotten your answer also.

    Thread Starter Christiaan

    (@christiaan)

    You can try adding:
    define(‘WP_MEMORY_LIMIT’, ’64M’);
    into your wp-config.php file.

    This one appears to have done the trick, thanks very much.

    Strange thing is I’ve been with Hostpapa for a while now and this just came out of nowhere for the first time.

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