hi everybody!
i get the same allocation problem when trying to upload images.
That’s my error message
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 4096 bytes) in /home/.sites/897/site245/web/blog/wp-includes/media.php on line 345
what i did:
define('WP_MEMORY_LIMIT', '64M');
— didn’t work.
- “deactivate all plug-ins” — i am only using one and that wasn’t the problem.
on closer inspection on said line in said php-file there is the following expression
$newimage = imagecreatetruecolor( $dst_w, $dst_h);
Interestingly I only get the error message if an image exceeds certain dimensions. Usually the images i try to upload are 1280*853; if i try uploading a little smaller images it works no problemo; like 1280*734.
can any of you folks help me out on this? help would be much appreciated!