Real-time memory usage monitoring including system RAM, PHP memory consumption, and peak PHP memory usage.

Memory Monitoring

This is a PRO feature. Unlock real-time monitoring, environment indicators, version history, and more. Upgrade to PRO →

The Memory Monitoring feature provides real-time insight into your server's memory usage and PHP's memory consumption, helping you identify memory pressure before it causes issues.

What It Displays

  • System Memory Usage - Total system RAM usage displayed as a percentage bar
  • PHP Memory Usage - Current PHP memory consumption for the active request
  • PHP Peak Memory - The highest memory usage recorded during the current PHP process

How Detection Works

Version Info uses a cross-platform Provider system to detect memory data:

Platform Detection Method
Linux Reads /proc/meminfo for system-level memory statistics
Windows Uses WMI (Windows Management Instrumentation) as a fallback
Fallback PHP's memory_get_usage() and memory_get_peak_usage()

On servers where /proc/meminfo is not accessible, the plugin gracefully falls back to PHP-only memory reporting. System-level memory data may not be available in all hosting environments.

Understanding the Metrics

  • System Memory reflects the total RAM usage of the entire server, not just PHP. This is useful for detecting whether other processes (like MySQL) are consuming excessive memory.
  • PHP Memory Usage shows how much memory the current WordPress request is consuming. This is typically the most actionable metric for WordPress optimization.
  • PHP Peak Memory shows the maximum memory used during the heaviest part of the request lifecycle, helping identify memory spikes.

Color-Coded Thresholds

Usage Level Color Threshold
Low Green Below 70%
Medium Orange 70% - 89%
High Red 90%+

Caching

Memory data is cached using WordPress Transients for 60 seconds by default and refreshed via the WordPress Heartbeat API.