Forums » Installation

Fatal error: Out of memory

superantoncito
SPAIN
2010-11-11 22:01:29
Permalink Post
 

When i want to upload some picture (100kb max):

Fatal error: Out of memory (allocated 29622272) (tried to allocate 400 bytes) in /homepages/2/d344727283/htdocs/interestelar/ndxz-studio/lib/media.php on line 356

Anybody knows why? I search about internet. I edit the memory_limit on my php.ini. I look the php info on my hosting and it's 200MB. I dont have 200MB on my indexhibit.

Vaska A
UNITED STATES
2010-11-11 23:30:35
Permalink Post
 

No, 200MB for uploading a file. But this does not include processing of the image which is why it's really more like 150kb max for upload.

But, it sounds like either something is not right with your image or the server is particular weak. Does it work with smaller pictures?

pstewart
UK
2012-02-02 12:01:11
Permalink Post
 

Hi I am also receiving this fatal error message, I have just been given extra disk space quota as my server suggested this was the problem before when uploading images (I was receiving the 404 error message). I have also just changed to php5. I have been unable to upload images for the last couple of months but have been able to do so before.

Be grateful for any help

Vaska A
UNITED STATES
2012-02-02 12:03:13
Permalink Post
 

What is your site?

You get this message when uploading? Or, all the time?

pstewart
UK
2012-02-02 12:13:58
Permalink Post
 

My site is http://pippastewart.co.uk/ it is just when I am uploading new images in a new exhibition, I managed to upload a new image as my homepage the other night!

Vaska A
UNITED STATES
2012-02-02 12:20:20
Permalink Post
 

Take one image that fails - how big is it (kb)?

pstewart
UK
2012-02-02 12:30:49
Permalink Post
 

To my surprise I have just managed to upload one image which is 758kb, however have had the fatal error message appear when trying to upload other images which are 635kb???

Vaska A
UNITED STATES
2012-02-02 13:32:33
Permalink Post
 

Pippa, those are huge.

The limitation here is on your server. When you upload an image it needs to resize and format the image and thumbnails. If the image is too big you will have problems...

Normally, we tell people to keep their images under 150kb (which is very big for the web). Since you are having differing results at larger sizes you can keep trying, but some will fail.

So, that's the problem... ;)

pstewart
UK
2012-02-02 14:00:28
Permalink Post
 

Cheers I was pretty sure it would be down to me, I shamefully just realise my fault (sorry) I have actually managed to upload and change around quite a few ones tonight now. Thank you very much for your help though :)

Showing 1 - 9 of 9 posts in Forum > Installation > Fatal error: Out of memory
 

You need to be logged in to post.