I have a problem with uploading images with Gallery plugin. Every time I try to upload I get this message:
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 4096 bytes) in /hosting/www/mojevzdelavani.eu/wordpress/wp-includes/media.php on line 1010
This shows every time, no difference if I'm uploading 1 image about 10kB or 50 images. And what's even stranger, the files are uploaded successfully (I can see them in Upload folder on server after that). So I don't think it's problem about memory limit, it's rather about not updating database informations of new images in gallery after their upload.
My memory_limit is 40M