Post by yegga » Wed Jan 20, 2010 11:22 pm

hi, i get a fatal error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 700 bytes) in/system/library/image.php on line 73


what do i do? modify php.ini? where is php.ini?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by NewMethod » Wed Jan 20, 2010 11:49 pm

Stick this at the top of the php file:

Code: Select all

ini_set("memory_limit","6M");
My mate Google could've probably told you that quicker than me! Or you can modify that line in php.ini - I wouldn't though unless absolutely necessary.

New member

Posts

Joined
Sun Jan 17, 2010 11:12 pm


Post by MWYS » Thu Jan 21, 2010 12:12 am

This may have been caused when you have uploaded a huge photo for a product and when the server tries to reszie it, it has ran out of memory.

Connect to your FTP, go to your images folder, sort by file size and see if there any huge images in there, If so - resize them to make them a smaller size to prevent this happening again,

New member

Posts

Joined
Wed Oct 21, 2009 9:04 pm

Post by yegga » Thu Jan 21, 2010 1:17 am

i did this, but is it possible to set a higher upper limit to file size?

Active Member

Posts

Joined
Tue Sep 08, 2009 5:03 am

Post by Xsecrets » Thu Jan 21, 2010 3:10 am

yegga wrote:i did this, but is it possible to set a higher upper limit to file size?
well I doubt it. this is not a file size limit it is a memory limit in php, which currently looks to be 32M I seriously doubt that your host will increase this limit beyond 32M, but you could ask.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by leousa » Sun Aug 14, 2011 2:41 am

I have got the similar message when I am trying to go to Catalog>Priducts from MyAdmin side:

Fatal error: Out of memory (allocated 33554432) (tried to allocate 14024 bytes) in /homepages/40/d359191853/htdocs/store/system/library/image.php on line 34

Problem started when I tried to mass delete products from MyAdmin side.

Already deleted all large images (however there were no any larger then 20 Kb) from the server, but it does not helped.

I am using Version 1.4.9.4.

Please help.

Newbie

Posts

Joined
Tue Jun 14, 2011 6:18 pm
Who is online

Users browsing this forum: Amazon [Bot] and 7 guests