ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

OUT OF MEMORY ERROR! Please Help?!

August 14, 2010 9:18am

Subscribe [3]
  • #1 / Aug 14, 2010 9:18am

    ren_aldo

    12 posts

    Hi support,

    I was wondering if someone can help? I have a site I built a while ago in EE 1.6.8. It’s a form of mini social networking system so employs the photo gallery module and the gallery extended module from solspace.

    The website in question: Jinja Online

    I use imgsizer to resize all images, and all of a sudden I’m getting a memory error:

    Fatal error: Out of memory (allocated 67633152) (tried to allocate 11328 bytes) in /home/jinja/public_html/system/plugins/pi.imgsizer.php on line 526

    I’ve deleted a many photo’s and still receiving the same problem, and I’ve also tried to manipulate the script in imgsizer (on a prayer you could see as I’m not very php savvy) to allow

    @ini_set("memory_limit","12M");
                @ini_set("memory_limit","16M");
                @ini_set("memory_limit","32M");
                @ini_set("memory_limit","64M");
                @ini_set("memory_limit","128M");
                @ini_set("memory_limit","256M");

    Can anyone guide me as to what this problem is likely to be and it’s fixes,

    many thanks and apologies if this is a little long winded,

    renaldo

  • #2 / Aug 14, 2010 7:04pm

    Sue Crocker

    26054 posts

    Renaldo, are you using any sort of third party addon? Normally 64M of PHP memory is enough. You may want to up it to 99M (one setting that might work.)

    Does that help?

  • #3 / Aug 15, 2010 9:38am

    ren_aldo

    12 posts

    Hi Sue,

    Thanks for your response. Yes I am using ‘imgsizer’. Have you any idea how I manipulate the php_info file to up the limit? Do my hosts need to do it or is there some kind of htaccess code that will do this? I tried to make the change to one of the code lines inside of the imgsizer script and had no luck.

    Thanks again,

    renaldo

  • #4 / Aug 15, 2010 5:11pm

    Greg Salt

    3988 posts

    Hi Renaldo,

    This is something that normally your hosts will be able to do for you. Please contact them and ask them up it to something in excess of 64MB because that’s apparently what you already have available.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases