CRITICAL Allowed memory size of 536870912 bytes exhausted
-
Hi
We are getting this message/errror in the Woocommerce/Logs
2023-02-19T03:53:11+00:00 CRITICAL Allowed memory size of 536870912 bytes exhausted (tried to allocate 392956524 bytes) in /home/domain name/public_html/wp-includes/PHPMailer/PHPMailer.php on line 3405
What could be causing this and HOW can we fix it ?
It seems to cause a 503 error where we cannot access the page all of a sudden. The error log we found but not sure what is causing it.
Very frustrating.
Thanks
Kristin
-
HI, Yes I’ve already done that, I googled and noticed that.
The code from Roxy didn’t have the M, but I have added that in already.
define(‘WP_MEMORY_LIMIT’, “1024M”);
So now I get this error which is slightly different (after I added the M)
[23-Mar-2023 10:44:10 UTC] PHP Warning: Use of undefined constant ‘WP_MEMORY_LIMIT’ – assumed ‘‘WP_MEMORY_LIMIT’’ (this will throw an Error in a future version of PHP) in /home/#/public_html/wp-config.php on line 79
It now says WordPress memory limit 1GB in the System Status.
That would be reflecting what I just added in the wp-config then I assume?
Thanks
I will have to check the logs tomorrow and see if that fixed the Memory exhausted issue.
Also the WordPress backend is still very slow. I thought that may have helped fix that when we edit a price of product in “QUICK EDIT” takes at least 10-15 seconds to save which is very long.
What could be causing this?
Thanks
Kristin
Hi @kristinubute ,
Ah, I realize that I forgot to add the
M
in my response here, sorry about that![23-Mar-2023 10:44:10 UTC] PHP Warning: Use of undefined constant ‘WP_MEMORY_LIMIT’ – assumed ‘‘WP_MEMORY_LIMIT’’ (this will throw an Error in a future version of PHP) in /home/#/public_html/wp-config.php on line 79
It seems that this is still being added incorrectly – like this:
define(‘WP_MEMORY_LIMIT’, “1024M”);
If so, please can you remove that, and add this:
define('WP_MEMORY_LIMIT', '1024M');
You will see that we need to replace
“
with'
.I must add that this does require advanced knowledge, so if you are not comfortable editing this on your own, I would strongly suggest asking your host to make these changes for you.
It now says WordPress memory limit 1GB in the System Status.
That would be reflecting what I just added in the wp-config then I assume?
Correct, this is a result of increasing your WordPress memory limit.
Also the WordPress backend is still very slow. I thought that may have helped fix that when we edit a price of product in “QUICK EDIT” takes at least 10-15 seconds to save which is very long.
Not necessarily. A slow load in the backend could be due to various factors.
Here are some helpful articles on how to fix a slow loading site:
Cheers!
Yes I had removed the double quotes and it displays and shows 1GB in the area. But editing products still takes up to 25 seconds to save a “QUICK EDIT” for pricing only .
We are currently using PHP 7.4.
I wasn’t sure if I try to upgrade to PHP 7.8 whether we will have website issues so I haven’t been game.
Hi @kristinubute ,
I hear your concern.
Before updating your PHP version,?you can test the latest version on a local environment?— like?WAMP,?MAMP?or?LocalWP.?Then, when you’re ready, you can go ahead and implement the changes on your production site.
You can read more about this here.
Cheers!
Hi, Checked the error logs and got the same issue even with 1GB WordPress Memory Limit added. This came on the error log this afternoon.
What now?
2023-03-24T03:27:25+00:00 CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 398127000 bytes) in /home/#/public_html/wp-includes/PHPMailer/PHPMailer.php on line 3407
This is getting bit frustrating..
Hi, I also see that the latest memory error is different from my original I added about 1 month ago when I added the ticket.
CRITICAL Allowed memory size of 536870912 bytes exhausted…. was the original ticket ..
now it says CRITICAL Allowed memory size of 1073741824 bytes exhausted (tried to allocate 398127000 bytes) in
Is there a common issue with this file wp-includes/PHPMailer/PHPMailer.php on line 3407
I’ve had the issue for over a month now and client is NOT happy. I need to somehow fix the issue. Any other ideas please ?
As the Critical memory error seems to be with the PHPMailer/PHPMailer.php. What is that and what is causing this?
As I’ve already increased this
define(‘WP_MEMORY_LIMIT’, ‘1024M’);
Am I supposed to do the PHP.ini file also? or just one or the other?
As Admin backend is quite slow also, which memory limit helps with the Admin area please?
If I have to add the PHP.ini file do I just add 1 line of code and that’s it?
memory_limit = 256M ;
I can’t do that from within the Cpanel PHP settings area?
I’ve also been doing some googling and found https://www.ads-software.com/support/topic/php-fatal-error-allowed-memory-size-exhausted-5/
Under Server section check the values reported for:
- PHP memory limit
- PHP memory limit (only for admin screens)
Under WordPress Constants section check the values reported for:
- WP_MEMORY_LIMIT
- WP_MAX_MEMORY_LIMIT
So under my “WORDPRESS CONSTANTS” my client site says
WP_MEMORY_LIMIT 1024M
WP_MAX_MEMORY_LIMIT 512M
Should the WP_MAX_MEMORY_LIMIT also be 1024M ?
No-one has mentioned about this, I just found it in google.
I can’t understand WHY my client is having this issue when they have been on the same hosting plan and not had issues before. We redesigned only part of the website and new plugins and Theme so this is strange.
Thanks Kristin
Hello,
Sorry to hear that the issue is still present.
To take a closer look, please share a copy of your site’s System Status Report: You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Thank you.
HI
Here is my system report. I have updated all plugins. I have followed all your steps.
I have increased both of these also.
WP_MEMORY_LIMIT 1024M
WP_MAX_MEMORY_LIMIT 1024M
Client has had same server hosting for years, but only recently having issues.
Hosting say it is NOT their end.
WordPress Environment WC Version: 7.5.1
REST API Version: ? 7.5.1
WC Blocks Version: ? 9.6.6
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.1.1
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: –
WP Cron: ?
Language: en_AU
External object cache: – Server Environment Server Info: Apache
PHP Version: 7.4.27
PHP Post Max Size: 128 MB
PHP Time Limit: 1000
PHP Max Input Vars: 1000
cURL Version: 7.71.0
OpenSSL/1.1.1d SUHOSIN Installed: –
MySQL Version: 10.5.17-MariaDB-cll-lve-log
Max Upload Size: 128 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.2.0
WC Database Prefix: wp_
Total Database Size: 34.17MB
Database Data Size: 27.81MB
Database Index Size: 6.36MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.23MB + Index: 0.41MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.23MB + Index: 0.16MB + Engine InnoDB
wp_bwg_album: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_album_gallery: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_file_paths: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_gallery: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_image: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_image_comment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_image_rate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_image_tag: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_shortcode: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_bwg_theme: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wp_et_social_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_eum_logs: Data: 0.33MB + Index: 0.00MB + Engine InnoDB
wp_ewwwio_images: Data: 0.74MB + Index: 0.29MB + Engine MyISAM
wp_ewwwio_queue: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wp_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_entry: Data: 0.12MB + Index: 0.02MB + Engine MyISAM
wp_gf_entry_meta: Data: 0.46MB + Index: 0.26MB + Engine MyISAM
wp_gf_entry_notes: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
wp_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_gf_form_view: Data: 0.14MB + Index: 0.07MB + Engine MyISAM
wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_iwp_backup_status: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
wp_iwp_file_list: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mystickyelement_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 3.73MB + Index: 0.11MB + Engine MyISAM
wp_pmr_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_postmeta: Data: 2.46MB + Index: 0.53MB + Engine MyISAM
wp_posts: Data: 0.94MB + Index: 0.20MB + Engine MyISAM
wp_redirection_404: Data: 0.10MB + Index: 0.03MB + Engine MyISAM
wp_redirection_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_redirection_items: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
wp_redirection_logs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_rg_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_rg_form_view: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
wp_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_rg_lead: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
wp_rg_lead_detail: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
wp_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_rg_lead_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_rg_lead_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_stream: Data: 0.22MB + Index: 0.34MB + Engine InnoDB
wp_stream_meta: Data: 1.52MB + Index: 1.00MB + Engine InnoDB
wp_termmeta: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
wp_terms: Data: 0.02MB + Index: 0.06MB + Engine MyISAM
wp_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
wp_term_taxonomy: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
wp_usermeta: Data: 0.06MB + Index: 0.02MB + Engine MyISAM
wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfConfig: Data: 0.49MB + Index: 0.02MB + Engine MyISAM
wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfFileMods: Data: 4.57MB + Index: 0.57MB + Engine MyISAM
wp_wfHits: Data: 0.07MB + Index: 0.01MB + Engine MyISAM
wp_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfIssues: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
wp_wfKnownFileList: Data: 3.28MB + Index: 0.17MB + Engine MyISAM
wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfLogins: Data: 0.31MB + Index: 0.07MB + Engine MyISAM
wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wfNotifications: Data: 0.07MB + Index: 0.01MB + Engine MyISAM
wp_wfPendingIssues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wfStatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM
wp_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wpml_mails: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
wp_wpr_rocket_cache: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_yoast_indexable: Data: 1.39MB + Index: 0.47MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.05MB + Index: 0.02MB + Engine MyISAM
wp_yoast_seo_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM Post Type Counts attachment: 413
bwg_gallery: 6
bwg_share: 1
custom_css: 2
iwp_log: 1694
nav_menu_item: 21
oembed_cache: 3
page: 63
post: 6
product: 104
revision: 9
rl_gallery: 1
seedprod: 1
shop_coupon: 1
shop_order: 12
wpcode: 2
wp_global_styles: 1 Security Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (34) Gravity Forms: by Gravity Forms – 2.7.3
BackupBuddy: by iThemes – 8.8.0
Call Now Button: by NowButtons.com – 1.3.8
Child Theme Configurator: by Lilaea Media – 2.6.0
Classic Editor: by WordPress Contributors – 1.6.2
Classic Widgets: by WordPress Contributors – 0.3
Disable Comments: by WPDeveloper – 2.4.3
Duplicate Page: by mndpsingh287 – 4.5.1
EWWW Image Optimizer: by Exactly WWW – 6.9.3
Gravity Forms Zero Spam: by GravityKit – 1.3
WPCode Lite: by WPCode – 2.0.6
Mailchimp for WooCommerce: by Mailchimp – 2.7.6
myStickyElements: by Premio – 2.0.9
NS Remove Related Products for WooCommerce: by NsThemes – 2.3.10
Phoenix Media Rename: by crossi72 – 3.9.1
Photo Gallery: by Photo Gallery Team – 1.8.15
Really Simple SSL: by Really Simple Plugins – 6.2.2
Redirection: by John Godley – 5.3.9
Responsive Lightbox & Gallery: by dFactory – 2.4.4
Side Cart WooCommerce: by XootiX – 2.1
Simple Custom CSS: by John Regan – 4.0.6
Sold Out Badge for WooCommerce: by Charlie Etienne – 4.3.5
Easy Updates Manager: by Easy Updates Manager Team – 9.0.14
UpdraftPlus - Backup/Restore: by UpdraftPlus.com
DavidAnderson – 1.23.3 Quantity Plus Minus Button for WooCommerce by CodeAstrology: by CodeAstrology Team – 1.1.4
Checkout Field Editor for WooCommerce: by ThemeHigh – 1.8.2
Product Gallery Slider for WooCommerce: by Codeixer – 2.2.8
WooCommerce Google Analytics Integration: by WooCommerce – 1.6.2
WooCommerce PayPal Payments: by WooCommerce – 2.0.3
WooCommerce: by Automattic – 7.5.1
Yoast SEO: by Team Yoast – 20.3
WP Fastest Cache: by Emre Vona – 1.1.2
WP Maximum Execution Time Exceeded: by Johnnie J. O'Dell Jr. – 1.0.3
WP Sitemap Page: by Tony Archambeau – 1.9.2 Inactive Plugins (3) Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.15.7
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.13.1
WP Mail Logging: by WP Mail Logging Team – 1.11.0 Dropin Plugins (1) advanced-cache.php: advanced-cache.php Settings API Enabled: –
Force SSL: –
Currency: AUD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5) Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: –
Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #2747 - /shop-unique-contemporary-jewellery/
Cart: #2748 - /cart/
Checkout: #2749 - /checkout/
My account: #2750 - /my-account/
Terms and conditions: #2781 - /shipping-and-insurance/ Theme Name: Divi Child
Version: 4.18.0.1669128089
Author URL: https://www.elegantthemes.com
Child Theme: ?
Parent Theme Name: Divi
Parent Theme Version: 4.20.2
Parent Theme Author URL: https://www.elegantthemes.com
WooCommerce Support: ? Templates Overrides: /home/#/public_html/wp-content/plugins/woo-product-gallery-slider/inc/product-image.php WooCommerce PayPal Payments Onboarded: ?
Shop country code: AU
WooCommerce currency supported: ?
Advanced Card Processing available in country: ?
Pay Later messaging available in country: ?
Webhook status: –
Vault enabled: ?
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: ?
Tracking enabled: – Admin Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page Disabled Features: minified-js
new-product-management-experience
product-variation-management
settings Daily Cron: ? Next scheduled: 2023-03-26 12:36:24 +11:00
Options: ?
Notes: 123
Onboarding: completed Action Scheduler Cancelled: 8
Oldest: 2023-03-14 14:26:45 +1100
Newest: 2023-03-24 22:06:10 +1100 Complete: 528
Oldest: 2023-03-24 22:34:43 +1100
Newest: 2023-03-26 16:22:32 +1100 Failed: 234
Oldest: 2023-01-10 00:38:22 +1100
Newest: 2023-03-24 23:36:38 +1100 Pending: 1
Oldest: 2023-03-26 17:24:20 +1100
Newest: 2023-03-26 17:24:20 +1100 Status report information Generated at: 2023-03-26 16:54:11 +11:00
`ALSo it is the memory exhausted – and only seems to be related to the wp-includes/PHPMailer/PHPMailer.php?
What is PHPMailer and HOW can I fix that specific memory exhaustion?
Is it to do with Cron jobs? Or HOW can I fix this?
Hosting people are hopeless to support and help and put it right back on me to fix it!
I found this whilst googling
https://whmcs.community/topic/297340-allowed-memory-size-phpinfo-issue/ (may not be relevant).
Hello,
Thanks for sending the system report.
WC Database Version: 7.2.0
Please be sure to update your database, you can do it under WooCommerce > status > tools > update database.Then, I’d recommend performing a conflict test: https://woocommerce.com/document/how-to-test-for-conflicts/
Also, you can install a?smpt?plugin, in order to better debug the issue.
Hope this helps.
Hello,
Same issue here. Would you please let us know whether we should do both of the following methods, or one of them?
Edit your wp-config.php file
Add this to the top, before the line that says, “Happy Blogging”:define(‘WP_MEMORY_LIMIT’, ‘1024’);
Edit your PHP.ini file
If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 64M try 256M:memory_limit = 256M ;
?Maximum amount of memory a script may consume (64MB)Thanks
- The topic ‘CRITICAL Allowed memory size of 536870912 bytes exhausted’ is closed to new replies.