Directory / plugin

Memory Limit Manager

v1.0.4 · by Muhammad Shakeel

Easily manage memory limits through a beautiful admin interface with advanced conflict detection.

About this plugin

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 Backup – Keeps one recent timestamped backup of your wp-config.php file 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 Name: wp-config.mlm-backup-2026-09-02-183045.php (timestamped using your site’s configured time zone)
  • Location: Same directory as your wp-config.php file
  • Number of Backups: Keeps only the most recent backup, replacing the previous one
  • Automatic Restore: If any error occurs during update, your original wp-config.php is automatically restored
  • Manual Restore: You can manually restore the 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/

Plugin tags