Page 1 of 1

[Solved]Allowed memory size error

Posted: Thu Jun 18, 2015 9:41 pm
by stclare
I'm receiving the following error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 29623500 bytes) in /home/www/ on line 32

I'm receiving this error on page two of the Catalog/products on the admin side. It has been working fine for months and today I got this error. I have 94 products entered so there are four pages, pages 1,3,4 I can access, its just page 2. All my images are png.

I have raised the memory limit to 512M in the php.ini file but that did not work.

I did add some Hi res images to the banner yesterday, maybe that had something to do with it.

Thanks for any help.

You have to change the memory limit in the php.ini file in the admin folder also.

Re: Allowed memory size error

Posted: Thu Jun 18, 2015 10:39 pm
Read about this here:

it will not help to just enlarge the memory_limit in the php.ini file, like:

Code: Select all

magic_quotes_gpc = Off;
register_globals = Off;
default_charset	= UTF-8;
memory_limit = 64M;
max_execution_time = 36000;
upload_max_filesize = 999M;
it has to be done on the Server, by use of your Server Admin Account.
Good Luck

Re: [Solved]Allowed memory size error

Posted: Thu Jun 18, 2015 11:18 pm
by mteverest
This error is normally caused when large image is uploaded. You can fix the issue by deleting the large image which you recently uploaded into site. Try to delete it form cpanel or ftp access. It will be better to keep the image size under 300kb as far as possible.

Re: [Solved]Allowed memory size error

Posted: Fri Jun 19, 2015 12:45 am
by stclare
I figured out what happened.

Somehow the image that got uploaded was a High-res 300dpi image that was 3.5mg. This image is one we use for commercial printing. Not really under 300kb.

Thanks for all who replied to this post.

Re: [Solved]Allowed memory size error

Posted: Fri Jun 19, 2015 3:35 am
just read this for the finest free image tools, I found and use regularely: ... 77#p513366
Good Luck

PS. Still, it's a shame, to use 50+MB of Server Memory, to uplod a 2MB Image with OC! ??? ??? :laugh: