Memory Limit Manager
Memory Limit Manager makes it incredibly easy to configure your memory limits without manually editing wp-config.php. With a beautiful, user-friendly interface and powerful features, you can increase memory limits with a single click.
Key Features
- One-Click Updates – Change memory limits with a single button click
- Quick Presets – Common configurations (128M/256M, 256M/512M, 512M/1G, 1G/2G)
- Automatic wp-config.php Backups – Creates timestamped backups of your wp-config.php file before any changes (format: wp-config.php.backup-YYYY-MM-DD-HHMMSS). Keeps 5 most recent backups and auto-restores on failure
- Conflict Detection – Identifies if memory limits are defined elsewhere
- System Diagnostics – File permissions and writability checks
- Manual Fallback – Copy-paste code if automatic updates don’t work
- Opcode Cache Clearing – Immediate effect after changes
- Beautiful UI – Modern, card-based layout with real-time validation
Why Use This Plugin?
Manually editing wp-config.php can be: – Intimidating for non-technical users – Error-prone (syntax errors can break your site) – Difficult to verify if changes took effect
Memory Limit Manager solves all these problems with a safe, user-friendly interface that handles everything automatically.
What It Does
This plugin allows you to configure two WordPress memory limit constants: 1. WP_MEMORY_LIMIT – Controls memory available on the frontend (default: 40M) 2. WP_MAX_MEMORY_LIMIT – Controls memory available in admin area (default: 256M)
Increasing these values can help resolve: – “Memory exhausted” errors – Plugin/theme activation failures – Image upload problems – Slow admin performance
Automatic Backup System
For your safety, the plugin automatically backs up your wp-config.php file before making any changes:
- Backup File Format: wp-config.php.backup-2026-01-15-223045 (timestamped)
- Location: Same directory as your wp-config.php file
- Number of Backups: Keeps the 5 most recent backups, auto-deletes older ones
- Automatic Restore: If any error occurs during update, your original wp-config.php is automatically restored
- Manual Restore: You can manually restore any backup file via FTP/cPanel if needed
This means you can update memory limits with confidence, knowing your configuration is always protected.
Security
- Nonce verification for CSRF protection
- Capability checks (administrator-only access)
- Input sanitization and validation
- Secure file operations with error recovery
Documentation
Documentation is available here: https://muhammadshakeel.com/memory-limit-manager-documentation/
Support
For support, please visit: https://wordpress.org/support/plugin/memory-limit-manager/
Developer
Memory Limit Manager is developed and maintained by Muhammad Shakeel.
Website: https://muhammadshakeel.com/
