Title: PHP Out of memory errors
Last modified: August 22, 2016

---

# PHP Out of memory errors

 *  Resolved [4boards](https://wordpress.org/support/users/4boards/)
 * (@4boards)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/)
 * Our site, [http://www.4boards.co.uk](http://www.4boards.co.uk) regularly suffers
   PHP Fatal Errors due to running out of memory, however, the PHP limit is set 
   to 512mb.
 * Here is an example:
    [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory(
   allocated 12582912) (tried to allocate 30720 bytes) in /home/boardsc/public_html/
   wp-includes/post-template.php on line 433 [25-Jan-2015 20:03:38 UTC] PHP Fatal
   error: Out of memory (allocated 2883584) (tried to allocate 122880 bytes) in /
   home/boardsc/public_html/wp-includes/class-wp.php on line 448 [25-Jan-2015 20:
   03:38 UTC] PHP Fatal error: Out of memory (allocated 34865152) (tried to allocate
   7680 bytes) in /home/boardsc/public_html/wp-content/plugins/woocommerce/includes/
   class-wc-https.php on line 103 [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out
   of memory (allocated 11010048) (tried to allocate 7680 bytes) in /home/boardsc/
   public_html/wp-includes/post.php on line 248 [25-Jan-2015 20:03:38 UTC] PHP Fatal
   error: Out of memory (allocated 42729472) (tried to allocate 7680 bytes) in /
   home/boardsc/public_html/wp-content/plugins/wordpress-seo/inc/class-sitemaps.
   php on line 126 [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory (allocated
   20709376) (tried to allocate 122880 bytes) in /home/boardsc/public_html/wp-includes/
   nav-menu.php on line 722 [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory(
   allocated 25165824) (tried to allocate 30720 bytes) in /home/boardsc/public_html/
   wp-content/plugins/previous-and-next-post-in-same-taxonomy/previous-and-next-
   post-in-same-taxonomy.php on line 148 [25-Jan-2015 20:03:38 UTC] PHP Fatal error:
   Out of memory (allocated 27000832) (tried to allocate 30720 bytes) in /home/boardsc/
   public_html/wp-content/plugins/revslider/inc_php/framework/em_integration.class.
   php on line 129 [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory (allocated
   53215232) (tried to allocate 240 bytes) in /home/boardsc/public_html/wp-content/
   plugins/woocommerce/includes/class-wc-post-types.php on line 181 [25-Jan-2015
   20:03:38 UTC] PHP Fatal error: Out of memory (allocated 44826624) (tried to allocate
   30720 bytes) in /home/boardsc/public_html/wp-content/themes/neighborhood/includes/
   class-tgm-plugin-activation.php on line 178 [25-Jan-2015 20:03:38 UTC] PHP Fatal
   error: Out of memory (allocated 37224448) (tried to allocate 30720 bytes) in /
   home/boardsc/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php on 
   line 373 [25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory (allocated
   30932992) (tried to allocate 30720 bytes) in /home/boardsc/public_html/wp-content/
   plugins/woocommerce-table-rate-shipping/shipping-table-rate.php on line 165 [
   25-Jan-2015 20:03:38 UTC] PHP Fatal error: Out of memory (allocated 23330816)(
   tried to allocate 7680 bytes) in /home/boardsc/public_html/wp-content/plugins/
   cleantalk-spam-protect/cleantalk.php on line 1890 [25-Jan-2015 20:03:38 UTC] 
   PHP Fatal error: Out of memory (allocated 7864320) (tried to allocate 30720 bytes)
   in /home/boardsc/public_html/wp-includes/date.php on line 324 [27-Jan-2015 19:
   11:00 UTC] PHP Fatal error: Out of memory (allocated 35913728) (tried to allocate
   122880 bytes) in /home/boardsc/public_html/wp-content/plugins/woocommerce/includes/
   abstracts/abstract-wc-order.php on line 1782 [27-Jan-2015 19:11:00 UTC] PHP Fatal
   error: Out of memory (allocated 39583744) (tried to allocate 122880 bytes) in/
   home/boardsc/public_html/wp-content/plugins/contact-form-7/modules/file.php on
   line 179 [27-Jan-2015 19:12:03 UTC] PHP Fatal error: Out of memory (allocated
   45088768) (tried to allocate 122880 bytes) in /home/boardsc/public_html/wp-content/
   themes/neighborhood/includes/class-tgm-plugin-activation.php on line 1126
 * And here is system info:
 * ### Environment ###
 * Home URL: [http://4boards.co.uk](http://4boards.co.uk)
    Site URL: [http://4boards.co.uk](http://4boards.co.uk)
   WC Version: 2.2.10 WC Database Version: 2.2.10 WP Version: 4.1 WP Multisite Enabled:
   No Web Server Info: Apache PHP Version: 5.3.26 MySQL Version: 5.5.40 WP Active
   Plugins: 22 WP Memory Limit: 512 MB WP Debug Mode: No WP Language: en_US WP Max
   Upload Size: 2 MB PHP Post Max Size: 8 MB PHP Time Limit: 300 PHP Max Input Vars:
   1000 SUHOSIN Installed: Yes WC Logging: Log directory (/home/boardsc/public_html/
   wc-logs/) is writable. Default Timezone: Default timezone is UTC fsockopen/cURL:
   Your server has fsockopen and cURL enabled. SOAP Client: Your server has the 
   SOAP Client class enabled. WP Remote Post: wp_remote_post() was successful – 
   PayPal IPN is working.
 * ### Locale ###
 * decimal_point: .
    thousands_sep: N/A mon_decimal_point: N/A mon_thousands_sep:
   N/A
 * ### Plugins ###
 * Installed Plugins: WooChimp Auto Subscribe Manager DELUXE by Mad Science Industries
   
   Inc. version 1.2.1 Breadcrumb NavXT by John Havlik version 5.2.0 Anti-spam by
   CleanTalk by СleanTalk version 4.14 Configure SMTP by Scott Reilly version 3.1
   Contact Form 7 by Takayuki Miyoshi version 4.0.3 Fluid Video Embeds by jamie3d
   version 1.2.5 Google Analytics Dashboard for WP by Alin Marcu version 4.4.2 Previous
   and Next Post in Same Taxonomy by Bill Erickson version 1.0 Regenerate Thumbnails
   by Viper007Bond version 2.2.4 Revolution Slider by ThemePunch version 4.1.3 WooCommerce
   SagePay Direct Payment Gateway by DeviceSoftware version 0.1.7.4 Ultimate Coming
   Soon Page by SeedProd version 1.12.0 WooCommerce Brands Addon by Mike Jolley 
   version 1.1.9 – 1.2.5 is available WooCommerce jQuery Cookie Fix by Splashing
   Pixels (Roy Ho) version 1.0 WooChimp360 (Woocommerce and Mailchimp eCommerce360
   integration) by Mad Science Industries Inc. version 1.0.3 WooCommerce Sequential
   Order Numbers by SkyVerge version 1.3.4 WooCommerce Table Rate Shipping by Mike
   Jolley version 2.6.10 – 2.7.1 is available WooCommerce by WooThemes version 2.2.10
   WooThemes Helper by WooThemes version 1.4.1 WordPress SEO by Team Yoast version
   1.7.1 WP-Memory-Usage by Alex Rabe version 1.2.2 YITH WooCommerce Wishlist by
   Your Inspiration Themes version 1.1.7
 * ### Settings ###
 * Force SSL: Yes
 * ### WC Pages ###
 * Shop Base: #5 – /shop/
    Cart: #6 – /cart/ Checkout: #7 – /checkout/ My Account:#
   8 – /my-account/
 * ### WC Taxonomies ###
 * Product Types: external (external)
    grouped (grouped) simple (simple) variable(
   variable)
 * ### Theme ###
 * Theme Name: 4boards
    Theme Version: 1.0 Theme Author URL: [http://www.swiftideas.net](http://www.swiftideas.net)
   Is Child Theme: Yes Parent Theme Name: Neighborhood Parent Theme Version: 2.05
   Parent Theme Author URL: [http://www.swiftideas.net](http://www.swiftideas.net)
   WooCommerce Support: Yes
 * ### Templates ###
 * Template Overrides (WooCommerce):neighborhood/woocommerce/archive-product.php
   
   neighborhood/woocommerce/cart/cart-empty.php neighborhood/woocommerce/cart/cart-
   item-data.php neighborhood-child/woocommerce/cart/cart-shipping.php neighborhood/
   woocommerce/cart/cart-totals.php neighborhood-child/woocommerce/cart/cart.php
   neighborhood/woocommerce/cart/cross-sells.php neighborhood/woocommerce/cart/mini-
   cart.php neighborhood/woocommerce/cart/shipping-calculator.php neighborhood/woocommerce/
   checkout/form-billing.php neighborhood/woocommerce/checkout/form-checkout.php
   neighborhood/woocommerce/checkout/form-shipping.php neighborhood/woocommerce/
   checkout/thankyou.php neighborhood/woocommerce/content-product.php neighborhood/
   woocommerce/content-product_cat.php neighborhood/woocommerce/content-single-product.
   php neighborhood/woocommerce/loop/add-to-cart.php neighborhood/woocommerce/loop/
   loop-end.php neighborhood/woocommerce/loop/loop-start.php neighborhood/woocommerce/
   loop/result-count.php neighborhood/woocommerce/myaccount/form-edit-address.php
   neighborhood/woocommerce/myaccount/form-login.php neighborhood/woocommerce/myaccount/
   form-lost-password.php neighborhood/woocommerce/myaccount/my-account.php neighborhood/
   woocommerce/myaccount/my-address.php neighborhood/woocommerce/order/order-details.
   php neighborhood/woocommerce/single-product/add-to-cart/external.php neighborhood/
   woocommerce/single-product/add-to-cart/grouped.php neighborhood/woocommerce/single-
   product/add-to-cart/simple.php neighborhood/woocommerce/single-product/add-to-
   cart/variable.php neighborhood/woocommerce/single-product/meta.php neighborhood/
   woocommerce/single-product/product-image.php neighborhood/woocommerce/single-
   product/product-thumbnails.php neighborhood/woocommerce/single-product/related.
   php neighborhood/woocommerce/single-product/review.php neighborhood/woocommerce/
   single-product/tabs/additional-information.php neighborhood/woocommerce/single-
   product/tabs/description.php neighborhood/woocommerce/single-product/tabs/tabs.
   php neighborhood/woocommerce/single-product/up-sells.php neighborhood/woocommerce/
   single-product-reviews.php neighborhood/woocommerce/single-product.php neighborhood/
   woocommerce/taxonomy-product_cat.php neighborhood/woocommerce/taxonomy-product_tag.
   php
 * The site is hosted by Eukhost.
 * Our support person does not know of any reason for this, can anyone help?

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

 *  Thread Starter [4boards](https://wordpress.org/support/users/4boards/)
 * (@4boards)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734289)
 * I raised this with our host, Eukhost, they came back with:
 * _According to your update, we have checked & found that the domain was exceeding
   the php memory limit than its allocated limit. We have updated the php memory
   limit upto 256 MB which is the maximum limit that can be set for our shared server’s
   accounts._
 * Further we have increased the wordpress memory limit too.
 * The database has also been optimized for the same.
 * This might help regarding the issue.
 * Since then, we are still getting regular PHP Out of memory issues, can anyone
   please help.
 *  Thread Starter [4boards](https://wordpress.org/support/users/4boards/)
 * (@4boards)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734296)
 * Despite being up-to-date with WordPress, Woocommerce and all plugins, we still
   get regular out-of-memory problems. Only issue is PHP version, we are working
   with host to migrate to new sever with PHP 5.4 or higher.
 * There is plenty of resource available, wp_memory_limit is 512mb.
 * This is causing our customers to think twice about revisiting our site of they
   experience an out-of-memory issue.
 * Is there a WordPress / Woocommerce expert out there who could help identify the
   root cause for this problem? Happy to pay reasonable rate.
 * Here is system status:
    WordPress Environment Home URL: [?] [http://4boards.co.uk](http://4boards.co.uk)
   Site URL: [?] [http://4boards.co.uk](http://4boards.co.uk) WC Version: [?] 2.3.13
   WC Database Version: [?] 2.3.13 Log Directory Writable: [?] ✔ /home/boardsc/public_html/
   wp-content/uploads/wc-logs/ WP Version: [?] 4.2.3 WP Multisite: [?] – WP Memory
   Limit:[?] 512 MB WP Debug Mode: [?] ✔ Language: [?] en_GB Server Environment 
   Server Info: [?] Apache PHP Version: [?] 5.3.29 – We recommend a minimum PHP 
   version of 5.4. See: How to update your PHP version PHP Post Max Size:[?] 60 
   MB PHP Time Limit: [?] 500 PHP Max Input Vars:[?] 1000 SUHOSIN Installed:[?] 
   ✔ MySQL Version:[?] 5.6.23 Max Upload Size:[?] 2 MB Default Timezone is UTC: [?]
   ✔ fsockopen/cURL: [?] ✔ SoapClient: [?] ✔ DOMDocument: [?] ✔ GZip: [?] ✔ Remote
   Post: [?] ✔ Remote Get: [?] ✔
 *  [invision-studios](https://wordpress.org/support/users/invision-studios/)
 * (@invision-studios)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734300)
 * I’m getting a similar error. I noticed my server is also running PHP 5.3.29. 
   WP recommendation is
    “PHP version 5.2.4 or greater (recommended: PHP 5.4 or 
   greater)”
 * Perhaps that is at the root of this issue?
 *  Thread Starter [4boards](https://wordpress.org/support/users/4boards/)
 * (@4boards)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734302)
 * PHP 5.4 is recommended, you should at least upgrade.
 * However, here’s the where we are now status; in short, we were getting to many
   errors and the site was running really slow for users so we bit the bullet, ditched
   SHARED HOSTING and moved to VPS service. Now have a very responsive site, no 
   errors since migration.
 * There were a few problems with migration, forgot to update email details in Configure
   SMTP plugin from shared hosting general email service to own server email. Also,
   DNS needs updating for email as well as the host name propagation (which was 
   much quicker than expected).
 * So – If you are really serious about a WordPress / Woocommerce site, especially
   if you have lots of product lines, don’t penny pinch by using a shared hosting
   environment.
 *  [invision-studios](https://wordpress.org/support/users/invision-studios/)
 * (@invision-studios)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734303)
 * My client’s site is on a dedicated managed server, so that’s not the issue.
 * We are running a bunch of plugins, including WPML. I suspect it to be the culprit
   of most of the out of memory errors.

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

The topic ‘PHP Out of memory errors’ is closed to new replies.

## Tags

 * [out of memory](https://wordpress.org/support/topic-tag/out-of-memory/)

 * 5 replies
 * 2 participants
 * Last reply from: [invision-studios](https://wordpress.org/support/users/invision-studios/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/php-out-of-memory-errors/#post-5734303)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
