Title: Fatal error: Allowed memory size
Last modified: August 21, 2016

---

# Fatal error: Allowed memory size

 *  Resolved [sector_1](https://wordpress.org/support/users/sector_1/)
 * (@sector_1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-62/)
 * Hello, I use the new version of WP 3.9.1 and try your plugin. If i want to add
   a new entry – displays me this error:
 * Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate
   130968 bytes) in /data/web/virtuals/60026/virtual/www/wp-includes/cache.php on
   line 27
 * Hosting Provider:
    PHP Version: 5.4.22 WP Memory Limit: 40M PHP Memory Limit:
   128M
 * [https://wordpress.org/plugins/ldd-directory-lite/](https://wordpress.org/plugins/ldd-directory-lite/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Mark](https://wordpress.org/support/users/delayedinsanity/)
 * (@delayedinsanity)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-62/#post-5001782)
 * Well that’s not good, it shouldn’t be using the entire 128 for any reason whatsoever.
 * Do you have any plugins installed that add things to the edit post page? Sometimes
   media plugins, slideshow plugins or other content related plugins will add various
   metaboxes to the edit post or edit page screens. I’m wondering if this is the
   case, if my plugin is conflicting with another over something.
 * I’ll take a look at the code tomorrow morning and see if I can see anything obvious
   on my end.
 *  [Mark](https://wordpress.org/support/users/delayedinsanity/)
 * (@delayedinsanity)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-62/#post-5001803)
 * I have a pretty good suspicion of what was causing that error for you. Props 
   to [Query Monitor](https://wordpress.org/plugins/query-monitor/) for making that
   far easier to diagnose than it may have been otherwise.
 * In order to detect what page the shortcode is on, I was running a recursive search
   through all the posts and then temporarily storing the results in a transient.
   No bueno.
 * The next release scans the post content on save for the shortcode, and updates
   the proper setting when it’s detected. This should be dramatically lower impact
   and shouldn’t cause any out of memory issues.
 * Fixed in [c5371e0e5b97329bde0c555f5950556a257dc9f9](https://github.com/mwaterous/ldd-directory-lite/commit/18e28461dba0028b758ed6646ad7125fde13d849)
 *  Thread Starter [sector_1](https://wordpress.org/support/users/sector_1/)
 * (@sector_1)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-62/#post-5001805)
 * Hello!
 * I tried to disable all plugins, but it’s still in 0.5.4-beta did not work. Plugin
   Query Monitor found nothing, everything worked, but not LDD Directory Lite.
 * So I downloaded version 0.5.5-beta, which you have provided for download already
   and it works! Thank you for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/ldd-directory-lite_d2d2d2.svg)
 * [LDD Directory Lite](https://wordpress.org/plugins/ldd-directory-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldd-directory-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldd-directory-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ldd-directory-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldd-directory-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldd-directory-lite/reviews/)

## Tags

 * [Allowed memory size](https://wordpress.org/support/topic-tag/allowed-memory-size/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [sector_1](https://wordpress.org/support/users/sector_1/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-62/#post-5001805)
 * Status: resolved