Is your WordPress website throwing an “Allowed memory size exhausted” error? This common problem means your WordPress installation is running out of the memory it needs to function properly. Don’t panic ā we’ve got you covered. Here’s a comprehensive guide on how to troubleshoot and increase WordPress memory limit.
Method 1: Edit file wp-config.php
Add the following toĀ wp-config.phpĀ
define( 'WP_MEMORY_LIMIT', '256M' );
(usually place under define(WP_DEBUG, true);)
Read more here.
Method 2:Ā Edit fileĀ .htaccess
Make sure you back up .htaccess before you edit it.Ā
Add the following to .htaccess:
php_value memory_limit 128M
Method 3:Ā Edit php.ini
Add the following to php.ini:
memory_limit=128M
Read more here.
If you’ve tried all methods and stillĀ get errors, please contact your hosting administrator to resolve this issue.
Learn More from ThimPress Knowledge Base Articles:
- How to Share WordPress Site Access with Thimpress Support Securely
- How To Troubleshoot ActionScheduler Errors: Step-by-Step Guide
- How to Update WordPress Theme Safely: A Step-by-Step Guide
- How to Update Your PHP Version (and Why Itās Crucial)
- Loco Translate Guide: How to Translate Your WordPress Theme
- How to Fix “Broken Theme and/or Stylesheets Missing” Error in WordPress
- One-Click Installation: Launch A WordPress Site in Minutes
- How to Extend Support for ThimPress Product on ThemeForest
- ThimPressās Documentation Portal
- Outdated Template in WordPress Themes: How to Fix It?
Contact US | ThimPress:
Website:Ā https://thimpress.com/
Fanpage:Ā https://www.facebook.com/ThimPress
YouTube:Ā https://www.youtube.com/c/ThimPressDesign
Twitter (X):Ā https://twitter.com/thimpress
