Plugin

Archived
Forum
(read-only)

ED Imageresizer

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Erskine Design

     

Allocated More to “Allocated Memory Size”

General

jayhlee
jayhlee

I’m trying to allocate more memory to prevent the following error message from showing.  It seems that when a 2.8MB image is uploaded and needs to be processed by ED Imagdresizer, I get the error message.  Do you know how I’d go about doing this?

PHP Fatal error: Allowed Memory Size of 20971520 Bytes exhausted (tried to allocate 131072 bytes)

jayhlee
# 1
jayhlee

Anyone?

jeremydgreat
# 2
jeremydgreat

Also getting this. Only on PNG images.

hellodaylight
# 3
hellodaylight

Me too. Can someone please respond to this support request? I realize this is a free plugin, but if you can’t support it, please don’t put it out there.

Danny Veiga
# 4
Danny Veiga

I know a lot of people have been getting these errors… its a simple fix. Go in the system/expressionengine/third_party/ed_imageresizer folder and open pi.ed_imageresizer.

On line # 64 you’ll see the following:   

private $memory_limit     = ‘32M’; // the memory limit to set

Change this to something higher, for example 64M… that should fix it. Depending if you’re on a shared host, 64M ought to work okay.. if you’re on a VPS or Dedicated you can set this much higher w/o any issues.

amadeus
# 5
amadeus

Thanks. I should have looked here at first ;)