Title: Fatal error memory
Last modified: August 22, 2016

---

# Fatal error memory

 *  [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/)
 * This plugin has been causing me memory issues lately. For the past couple of 
   months I’ve been seeing this error a lot and have found that it’s NextGen Gallery
   causing it.
    I really really want to keep using NextGen as it’s a fantastic plugin,
   so I hope there’s a fix for this!
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   6771453 bytes) in /public_html/wp-includes/functions.php on line 377
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/fatal-error-memory-5/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-memory-5/page/2/?output_format=md)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917197)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – That appears
   to be a lot of memory you are trying to use … what are you seeing under Gallery
   > Overview for Server Settings?
 * Also, what were you trying to do when you get this error (the more specifics 
   the better)?
 * Thanks!
 * – Cais.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917275)
 * Deactivating the plugin seems to have completely solved the memory problem, but
   obviously I want the plugin activated! I use it a lot.
 * The error appears whenever I try to open a page. If I refresh after the first
   attempt then the page loads, but usually the sidebar is missing and has the error
   there instead.
 * Server Settings:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 80.46 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 268435456 PHP Max Upload Size:
   500M PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script
   Execute Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes 
   PHP XML support : Yes
 * Graphic Library
 *  GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes FreeType Linkage:
   with freetype T1Lib Support : No GIF Read Support : Yes GIF Create Support : 
   Yes JPEG Support : Yes PNG Support : Yes WBMP Support : Yes XPM Support : Yes
   XBM Support : Yes JIS-mapped Japanese Font Support : No
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917276)
 * PHP Memory Limit : 268435456
 * This seems to be key
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917292)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – Yes, that 
   is the primary item to note but it should not really be needed to have a higher
   setting although your memory usage is fairly high for the most part.
 * Have you tried deactivating *all* plugins then reactivating NextGEN Gallery only
   to see what changes to your memory usage? It may just be a combination of plugins(
   we have greatly improved NextGEN Gallery resource usage but there may be another
   plugin that is counter-acting our latest improvements).
 * – Cais.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917413)
 * I was unable to deactivate Shareaholic or Wordfence Security.
 * But with the three plugins activated it looks like this:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 57.84 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 256 PHP Max Upload Size : 500M
   PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script Execute
   Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes PHP XML 
   support : Yes
 * Graphic Library
 *  GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes FreeType Linkage:
   with freetype T1Lib Support : No GIF Read Support : Yes GIF Create Support : 
   Yes JPEG Support : Yes PNG Support : Yes WBMP Support : Yes XPM Support : Yes
   XBM Support : Yes JIS-mapped Japanese Font Support : No
 * The site seems to be working fine, but is a mess without several of the other
   plugins activated. After copying this I reactivated the plugins that I need.
 * I wonder if you know if any of the following plugins might cause compatibility
   issues?
 * Ad Inserter
    All in One SEO Pack Auto Twitter Count Per Day Easy Spoiler Floating
   Social Media Links Network Publisher * NEXTGEN Download Gallery * NextScripts:
   Social Networks Auto-Poster * P3 (Plugin Performance Profiler) Shareaholic | 
   share buttons, analytics, related content Smart Youtube PRO SlideDeck for WordPress–
   Slider Widget User Role Editor View Random Post Widget Visibility Wordfence Security
   WordPress Related Posts
 * I’ve put * next to ones that I think might be part of the problem. They are currently
   deactivated, but the error hasn’t completely disappeared.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917414)
 * After restoring those plugins it looks like this:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 77.99 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 268435456 PHP Max Upload Size:
   500M PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script
   Execute Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes 
   PHP XML support : Yes
 * Graphic Library
 *  GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes FreeType Linkage:
   with freetype T1Lib Support : No GIF Read Support : Yes GIF Create Support : 
   Yes JPEG Support : Yes PNG Support : Yes WBMP Support : Yes XPM Support : Yes
   XBM Support : Yes JIS-mapped Japanese Font Support : No
 * And the error is occurring sometimes.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917436)
 * I have had to deactivate NextGen Gallery again as the error is back in force.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917448)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – I would suggest
   a baseline test of a default WordPress Twenty series theme and NextGEN Gallery*
   only* … then move forward from there.
 * The key to is start from the most basic setup possible … see this article for
   a more detailed list of steps to consider: [http://codex.wordpress.org/Managing_Plugins#Troubleshooting](http://codex.wordpress.org/Managing_Plugins#Troubleshooting)
 * Thanks!
 * – Cais.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917462)
 * Well as I said, I deactivated all the plugins to start with. For some reason 
   Shareaholic and Wordfence Security wouldn’t deactivate, but the site was running
   smoothly. I activated NextGEN first and the site still seemed fine.
 * I then deactivated NextGEN to see if it was another plugin causing problems. 
   I reactivated them all one at a time and clicked about on site to see if there
   were any problems.
 * The problems only came back when I reactivated NextGEN or either of the Network
   publishers, so I have now left them deactivated. The network publishers made 
   the site completely inaccessible, while NextGEN caused intermittent problems.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917463)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – That you are
   unable to deactivate any particular plugin is a problem in and of itself that
   should be addressed first and foremost as far as I see it.
 * We would like to be able to help you troubleshoot any issue you may have with
   NextGEN Gallery specifically but it appears you are other underlying problems
   that should be addressed first (and quite possibly not related to NextGEN Gallery
   as all).
 * Thanks!
 * – Cais.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917479)
 * I have now deleted the two plugins that I previously couldn’t deactivate.
 * On reactivating NextGEN gallery with the other plugins active, the error has 
   returned again.
 * Now with only NextGEN activated and nothing else the Overview looks like this:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 52.79 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 256 PHP Max Upload Size : 500M
   PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script Execute
   Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes PHP XML 
   support : Yes
 * Graphic Library
 *  GD Version : bundled (2.1.0 compatible)
    FreeType Support : Yes FreeType Linkage:
   with freetype T1Lib Support : No GIF Read Support : Yes GIF Create Support : 
   Yes JPEG Support : Yes PNG Support : Yes WBMP Support : Yes XPM Support : Yes
   XBM Support : Yes JIS-mapped Japanese Font Support : No
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917480)
 * Sorry. Putting down a lot of info, but hopefully it will help.
 * With NextGEN activated I began reactivating the others one by one to see what
   happened.
 * I got up to the following being active when the error occurred:
    NextGEN Gallery
   by Photocrati Ad Inserter Admin Columns All in One SEO Pack Auto Twitter Count
   Per Day Easy Spoiler
 * I deactivated Count Per Day as I imagine that would eat more memory that Easy
   Spoiler and continued activating plugins.
 * The error occurred again as I attempted to activate Slidedeck.
    At this point
   the active plugins were: Ad Inserter Admin Columns All in One SEO Pack Auto Twitter
   Easy Spoiler Floating Social Media Links NextGEN Gallery by Photocrati P3 (Plugin
   Performance Profiler)
 * Refreshing the page showed that Slidedeck had successfully activated despite 
   the error.
    With the above set active, I’m getting the error frequently and the
   overview looks like this:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 65.63 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 268435456 PHP Max Upload Size:
   500M PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script
   Execute Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes 
   PHP XML support : Yes
 * I deactivated P3 and carried on activating others. The error didn’t return again
   until I had this set active:
    Ad Inserter Admin Columns All in One SEO Pack Auto
   Twitter Easy Spoiler Floating Social Media Links NextGEN Gallery by Photocrati
   SlideDeck for WordPress – Slider Widget Smart Youtube PRO User Role Editor View
   Random Post
 * Overview:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 63.37 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 268435456 PHP Max Upload Size:
   500M PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script
   Execute Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes 
   PHP XML support : Yes
 * I removed View Random Post and kept going. WordPress Related Posts caused the
   error next. So I deactivated that.
 * Currently active with error still present but infrequent:
    Ad Inserter Admin 
   Columns All in One SEO Pack Auto Twitter Easy Spoiler Floating Social Media Links
   NextGEN Gallery by Photocrati SlideDeck for WordPress – Slider Widget Smart Youtube
   PRO User Role Editor Widget Visibility WordPress Simple Firewall
 * Overview:
 *  Operating System : Linux (64 Bit)
    Server : Apache Memory usage : 67.33 MByte
   MYSQL Version : 5.5.37-cll SQL Mode : Not set PHP Version : 5.3.29 PHP Safe Mode:
   Off PHP Allow URL fopen : On PHP Memory Limit : 268435456 PHP Max Upload Size:
   500M PHP Max Post Size : 600M PCRE Backtracking Limit : 1000000 PHP Max Script
   Execute Time : 18000s PHP Exif support : Yes ( V1.4 ) PHP IPTC support : Yes 
   PHP XML support : Yes
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917483)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – Wow … yep,
   that’s a lot of details and hard work. Good for you! Unfortunately it’s still
   not pointing to anything specific but it does have me thinking there is possibly
   a combination of plugins that is causing this problem and not just one by itself.
 * It’s good that the error has become intermittent in the sense that whatever the
   combination is does not happen all of the time so now it becomes a test of observation
   to see if there is some specific set of actions that “trigger” the error.
 * There are still several plugins in your “active” list that I am not familiar 
   with so it may or may not involve them but based on that list I will note those
   unfamiliar plugins if that helps (with comments based on implied functionality
   of the name):
 * Ad Inserter (unknown but likely ok)
    Admin Columns (unless errors are only admin
   side) Auto Twitter (not likely going to touch on NextGEN Gallery functionality)
   Easy Spoiler (unknown) Floating Social Media Links (could be dependent on how
   they are inserted) SlideDeck for WordPress – Slider Widget (probably fine) Smart
   Youtube PRO (likely fine) Widget Visibility (most likely not the issue) WordPress
   Simple Firewall (possible issue, depends on how strict the firewall settings 
   are)
 * – Cais.
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917508)
 * Unfortunately the errors are still happening.
 * I’ve deactivated Admin Columns as I don’t use it much anyway so I can do without.
 * The Simple Firewall is a new plugin that I’ve installed since issues started 
   as a replacement for a different security plugin that I thought was a cause before.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-5/#post-5917509)
 * [@crackingace](https://wordpress.org/support/users/crackingace/) – Is the issue
   still intermittent?
 * – Cais.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/fatal-error-memory-5/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-memory-5/page/2/?output_format=md)

The topic ‘Fatal error memory’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 24 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-5/page/2/#post-5917523)
 * Status: not resolved