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

---

# php Fatal error: Allowed memory size

 *  Resolved [Chris Whiteley](https://wordpress.org/support/users/thewhite/)
 * (@thewhite)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/)
 * After installing the plugin and configuring a few discounts I started getting
   a “Fatal error: Allowed memory size” message on my products page. I increased
   the memory_limit to allow for the product to load without the error, but they
   are loading very slowly now. I had to increase the max execution time to allow
   for the products to load.
 * I have done the usual add/remove themes and plugins and “Woocommerce Advanced
   Discounts” was causing the problems. Can you provided some insight as to why 
   the plugin is causing the long load time?
 * [https://wordpress.org/plugins/woo-advanced-discounts/](https://wordpress.org/plugins/woo-advanced-discounts/)

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

 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/#post-6754742)
 * Hello,
    I’m not sure that’s related to our code because our plugin as a really
   low memory usage. What’s the size of your shop? How many products i mean? And
   where does the issue occurs?
 *  Thread Starter [Chris Whiteley](https://wordpress.org/support/users/thewhite/)
 * (@thewhite)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/#post-6755020)
 * Hello,
 * I moved to a VPS so that I could increase the memory size. I no longer receive
   the fatal memory error, but the product archive pages take a long time to load
   with the plugin active (500-700 seconds).
 * The site uses WPML and has 1500 products (750 split between 2 languages).
 * Can you please let me know of any other information needed to help troubleshoot
   this issue.
 *  Plugin Author [Hermann LAHAMI](https://wordpress.org/support/users/mano88/)
 * (@mano88)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/#post-6755021)
 * How many products are displayed by page? Are you using a cache plugin?
 *  Thread Starter [Chris Whiteley](https://wordpress.org/support/users/thewhite/)
 * (@thewhite)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/#post-6755022)
 * There are 10 products shown on each page. I am not using caching.
 * I can activate the plugin and send you a link if you would like to see it in 
   action.

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

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

 * ![](https://ps.w.org/woo-advanced-discounts/assets/icon-256x256.png?rev=1857281)
 * [Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin](https://wordpress.org/plugins/woo-advanced-discounts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-advanced-discounts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-advanced-discounts/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-advanced-discounts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-advanced-discounts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-advanced-discounts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Chris Whiteley](https://wordpress.org/support/users/thewhite/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-allowed-memory-size-2/#post-6755022)
 * Status: resolved