InspireMediaInspireMedia
Menu
0

No products in the cart.

  • Home
  • What We Do
  • Blog
  • Plugins
  • Contact

Resize at Upload Plus: WP Plugin Memory Limit

  • Home
  • Blog
  • Resize At Upload Plus: WP Plugin Memory...

Resize at Upload Plus: WP Plugin Memory Limit

CategoriesBlogging / Code Junkies / Development / Websites

John Wooton

April 2, 2010

0 4

Share this post

For our WordPress clients, we use a plugin called Resize at Upload Plus to ensure that any images that are uploaded are immediately resized to a manageable size. Using a tool like this is a practical solution when you are concerned about overall server storage for a WordPress blog that will be utilizing a lot of images.

Recently we ran into an issue with the plugin that is caused by a default limitation in WordPress.

“Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4000 bytes)”.

An error like this would obviously prevent any photo from being resized after upload, but it also prevents the photo from completing the upload process.

The cause of this error is a default setting in WordPress. By default WP installs with a default memory limit of 32M. This is the maximum amount of memory that can be used by PHP. Some web hosts will pre-set this limit to something really low (like 8M) and some will not let you change this. However, in this case, if your web host allows you to change this here’s what you’ll need to do to increase this limit and avoid this fatal error:

  1. Open wp_settings.php and search for “WP_MEMORY_LIMIT’. This will most likely be at the start of the file around line 13.
  2. Change the default number for the memory amount allocated for PHP. I recommend 64M or 96M. In some cases you may just need to increase the limit slightly, but for WordPress sites that use a lot of plugins, you’ll want to increase this level more since there will be more of the PHP plugins that will be using that limit.
  3. Save the file and upload to your site.
  4. Try uploading the files again to see if this has solved the error.

Tags: Wordpress Settings, Resize at Upload, wordpress

Related Post

DECEMBER 6, 2017

New Website: Erin Hession...

Today we launched a new design revamp for Erin Hession Photography. Erin Hession...

00

JUNE 13, 2016

New Website: Le Jour du...

Le Jour du Mariage (which is French for “The Wedding Day”) is a sister...

00

FEBRUARY 14, 2016

New Website: Wilson Kehoe...

This past week we put the finishing touches on a brand new website revamp for our friends...

00

AUGUST 25, 2015

New Website: Same Day Courier...

Same Day Courier Service was referred to InspireMedia because they were looking for a...

00

APRIL 1, 2015

Will Your Site Be Penalized...

Late last year, Google began testing for and highlighting websites in their search...

00

MARCH 23, 2015

Gravity Forms VacationCRM...

Recently we published a new WordPress plugin that integrates Gravity Forms with our...

00

Comments

4

  • Eyl July 6th, 2010

    I’ve don that, it says that my wp is now using 64M memory limit, but still, the fatal error keep showing. any idea?

    Reply
    • johnwooton July 7th, 2010

      Who are you hosting with? It may be that your host is overriding your setting and reducing it to their acceptable limit.

      Reply
  • Wyn James September 13th, 2010

    My host limit appears to be 64M. However, this seems to be insufficient to crunch images greater than 3Mb. Any other workarounds?

    Reply
  • johnwooton September 14th, 2010

    Are you receiving the same error? It’s possible that your host is overriding your settings and keeping it at a smaller number. Check with your host first.

    If that doesn’t work you may have a conflicting plug-in.

    Reply

Leave a Comments Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • December 2017
  • June 2016
  • February 2016
  • October 2015
  • August 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • October 2014
  • May 2014
  • March 2014
  • January 2014
  • November 2013
  • October 2013
  • May 2013
  • March 2013
  • March 2012
  • October 2011
  • September 2011
  • July 2011
  • June 2011
  • May 2011
  • November 2010
  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • January 2010
  • December 2009
  • November 2009
  • July 2009
  • March 2009
  • February 2009
  • January 2009
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • August 2006
  • June 2006
  • May 2006
  • March 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005
  • September 2005
  • August 2005

© 2022 InspireMedia, All Rights Reserved.