I have run into problems with mem limits before but but haven’t found a solution to this specific problem yet. I am using wp-ecommerce which uses the default media uploader to upload product photos. When I go to the product image gallery (or standard media gallery) I get the dreaded error
Fatal error: Out of memory (allocated 40894464) (tried to allocate 4096 bytes) in /home/blahblah/public_html/wp-includes/media.php on line 258
I have increased all my mem limits to 256M a while back when I ran into plugin related mem issues, but this didn’t fix my new problem.
If I go to media.php and check out line 258 and remove it (and its related code) the issue goes away and I can once again upload and manage photos. However, I know this isn’t a solution to the problem.
What else can I do to stop this. Are there any definitions I can add to config to stop this? right now my max and limit is set at 256M in config and when I call to my php.ini settings from my different directories it shows a limit of 256M. I thought this would suffice, but can’t figure out a fix.
- The topic ‘Fatal error: Out of memory /wp-includes/media.php on line 258’ is closed to new replies.