Title: Plugin consuming too much memory
Last modified: November 8, 2017

---

# Plugin consuming too much memory

 *  Resolved [leiluspocus](https://wordpress.org/support/users/leiluspocus/)
 * (@leiluspocus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/)
 * Hello,
 * I just installed Hustle plugin in my local environment. It works fine, I managed
   to activate the plugin, create my first optin.
 * When I push the plugin in a staging environment, there is the following error:
 * `Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   256 bytes) in /var/www/mywebsite/wp-includes/wp-db.php on line 1906`
 * The page is blank after I activate the plugin and I cannot access any of the 
   admin pages…
 * Is there a way to reduce these consumption of memory ? I don’t want to increase
   memory usage in my webserver (max: 512MB).
 * Thank you in advance !
    -  This topic was modified 8 years, 6 months ago by [leiluspocus](https://wordpress.org/support/users/leiluspocus/).

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

 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9666418)
 * Hey [@leiluspocus](https://wordpress.org/support/users/leiluspocus/),
 * Hope you’re well!
 * Actually, Hustle is not needed a lot of memory, so there can be another issue
   or plugin conflict. Can you enable WordPress debugging? You just need to put 
   these codes in wp-config.php;
 *     ```
       /* Debug Settings */
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       /* End of Debug Settings */
       ```
   
 * Then try again. When you see the error, check your wp-content folder. Is there
   debug.log file? Can you show us the content of that file?
 * Cheers,
    Oguz
 *  Thread Starter [leiluspocus](https://wordpress.org/support/users/leiluspocus/)
 * (@leiluspocus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9666897)
 * Hello Oguz ! Thank you for your prompt reply 🙂
 * I really don’t think it’s a matter of plugins, because it’s working perfectly
   in my local environment. It’s once I push it on staging that I have these troubles.
 * The same error is displayed (well this time, in an other file).
 * `Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   72 bytes) in /var/www/mywebsite/wp-includes/cache.php on line 672`
 * I also tried to disable all the plugins but Hustle, I still have this error:
 * `Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
   72 bytes) in /var/www/mywebsite/wp-includes/cache.php on line 672`
    -  This reply was modified 8 years, 6 months ago by [leiluspocus](https://wordpress.org/support/users/leiluspocus/).
    -  This reply was modified 8 years, 6 months ago by [leiluspocus](https://wordpress.org/support/users/leiluspocus/).
 *  [saulposel](https://wordpress.org/support/users/saulposel/)
 * (@saulposel)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9669548)
 * Just to say I am experiencing the same issue.
 * Able to install the plugin, but when trying to load any of the plugin’s admin
   pages I get a memory error. All other admin pages still work as usual.
 * I have tried allowing a huge amount of memory to see if that resolve the issue,
   but still no luck. Just to note that this is on a WooCommerce site.
 * For note, the error is: Fatal error: Allowed memory size of 4311744512 bytes 
   exhausted (tried to allocate 72 bytes) in /nas/content/staging/cookeryschool/
   wp-includes/meta.php on line 841
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9669777)
 * Hey [@leiluspocus](https://wordpress.org/support/users/leiluspocus/),
 * If same files and database works on local but not on remote that means there 
   is a problem about the remote environment, so maybe trying to increase allowed
   memory size can solve the problem for your case.
 * Hey [@saulposel](https://wordpress.org/support/users/saulposel/),
 * It’s better to open new topic for your own question, did you try plugin conflict
   test for your case? You just need to deactivate all plugins except Hustle and
   try again.
 * Cheers,
    Oguz
 *  Thread Starter [leiluspocus](https://wordpress.org/support/users/leiluspocus/)
 * (@leiluspocus)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9669816)
 * Hey [@oguz](https://wordpress.org/support/users/oguz/) !
 * Actually that’s what I did in my remote environment 🙂 I increased the memory
   size but I still have this error 🙁
 * Please note that the tables associated with the plugin (wp_optin I think?) have
   succesfully be created.
 * What is the part that takes that much memory precisely ?
 * Cheers
 * Laïla
 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9672935)
 * Hello Laïla
 * Hope you are doing well!
 * This might be a conflict with another plugin. From my end, the plugin is working
   with the PHP Memory limit set to 60MB.
 * Would you please run a quick test? Deactivate all the other plugins and switch
   to default WordPress theme, for example, Twenty Seventeen and check if the Fatal
   error will show up again.
 * If the issue persists, please try to re-install the plugin via FTP. If everything
   is well, activate one plugin at the time till the error will show up again. Let
   us know which plugin/theme may be causing this error. If you have /mu-plugins/
   folder, please temporary remove it too.
 * Also please let us know what is the PHP version of your site?
 * Please let us know how it went!
 * Kind regards,
    Nastia
 *  [jdailey](https://wordpress.org/support/users/jdailey/)
 * (@jdailey)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-9729876)
 * Thank you for using Hustle. I am going to close this ticket for now. If you were
   able to run the test and still need help please let us know and we can reopen
   the thread.
 *  [taniekonto](https://wordpress.org/support/users/taniekonto/)
 * (@taniekonto)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-10031678)
 * Hello,
 * I’ve got the same problem as author of this thread.
    After upgrading Hustle to
   the latest version I get error:
 *     ```
       [02-Mar-2018 11:27:59 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) in .../public_html/banki/wp-includes/wp-db.php on line 1890
       [02-Mar-2018 11:28:00 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in ...wp-includes/wp-db.php on line 1889
       ```
   
 * The page is blank after I activate the plugin and I cannot access any of the 
   admin pages…
 * I’m sure that is because of Hustle plugin (I’ve disabled all other plugins)
 * Thank you in advance !
    -  This reply was modified 8 years, 2 months ago by [taniekonto](https://wordpress.org/support/users/taniekonto/).
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-10035899)
 * Hey [@taniekonto](https://wordpress.org/support/users/taniekonto/),
 * Hope you’re well.
 * Looks like memory_limit for your server is not enough for your website with using
   Hustle. Can you try to increase it? You can check this blog post [https://premium.wpmudev.org/blog/increase-memory-limit/](https://premium.wpmudev.org/blog/increase-memory-limit/)
   or ask your hosting provider for how you can increase it.
 * Also, if the problem continues could you please start a new thread? According
   to WordPress.org forum guides you should open a new topic even if the issue looks
   same;
 * > Unless users have the exact same version of WordPress on the same physical 
   > server hosted by the same hosts with the same plugins, theme, and configurations,
   > then the odds are the solution for one user will not be the same for another.
   > For this reason, we recommend people start their own topics.
 * ([https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place](https://make.wordpress.org/support/handbook/forum-welcome/#post-in-the-best-place))
 * And we will gladly investigate this further for you.
 * Cheers,
    Oguz

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

The topic ‘Plugin consuming too much memory’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/plugin-consuming-too-much-memory/#post-10035899)
 * Status: resolved