I try to upload an image that is 1.38 MB and get this error:
Fatal error: Out of memory (allocated 34078720) (tried to allocate 14592 bytes) in /homepages/…/htdocs/wp-includes/media.php on line 254 (elipses mine)
OK so the amount it tried to allocate is clearly less that what is allocated, so what’s going on here?
I added this line to wp-config.php, after define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
I go to phpinfo.php and get this:
I go to ‘upload new media’ and get this:
Maximum upload file size: 30MB
I’m not too picky, and any of these upload sizes would be fine with me. However, if I can’t even upload a 1.38MB photo, we’ve got a problem. I can upload a 300k photo but that’s too low. Any suggestions?
- The topic ‘Specific "out of memory" problem’ is closed to new replies.