{"id":813,"date":"2009-06-13T09:29:59","date_gmt":"2009-06-13T09:29:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-memory-usage\/"},"modified":"2026-05-25T08:34:30","modified_gmt":"2026-05-25T08:34:30","slug":"wp-memory-usage","status":"publish","type":"plugin","link":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-memory-usage\/","author":14229339,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.3.0","stable_tag":"2.3.0","tested":"7.0","requires":"5.3","requires_php":"7.4","requires_plugins":null,"header_name":"WP-Memory-Usage","header_author":"Bernhard Kux","header_description":"","assets_banners_color":"abbeb8","last_updated":"2026-05-25 08:34:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.json-content-importer.com","header_author_uri":"https:\/\/www.json-content-importer.com","rating":4.5,"author_block_rating":0,"active_installs":10000,"downloads":299863,"num_ratings":21,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.2.10":{"tag":"1.2.10","author":"berkux","date":"2025-04-16 20:18:18"},"1.2.11":{"tag":"1.2.11","author":"berkux","date":"2025-12-03 22:27:53"},"1.2.3":{"tag":"1.2.3","author":"berkux","date":"2022-01-02 12:07:45"},"1.2.4":{"tag":"1.2.4","author":"berkux","date":"2022-01-03 20:58:30"},"1.2.5":{"tag":"1.2.5","author":"berkux","date":"2022-01-26 07:39:28"},"1.2.6":{"tag":"1.2.6","author":"berkux","date":"2022-11-13 18:54:25"},"1.2.7":{"tag":"1.2.7","author":"berkux","date":"2023-02-17 23:17:50"},"1.2.8":{"tag":"1.2.8","author":"berkux","date":"2023-11-04 23:24:07"},"1.2.9":{"tag":"1.2.9","author":"berkux","date":"2024-04-09 19:45:53"},"2.0.0":{"tag":"2.0.0","author":"berkux","date":"2026-03-04 20:51:38"},"2.0.1":{"tag":"2.0.1","author":"berkux","date":"2026-03-05 20:47:56"},"2.0.2":{"tag":"2.0.2","author":"berkux","date":"2026-03-05 23:44:27"},"2.1.0":{"tag":"2.1.0","author":"berkux","date":"2026-03-14 13:45:46"},"2.1.1":{"tag":"2.1.1","author":"berkux","date":"2026-03-19 22:01:23"},"2.2.0":{"tag":"2.2.0","author":"berkux","date":"2026-03-20 15:41:28"},"2.2.1":{"tag":"2.2.1","author":"berkux","date":"2026-05-25 08:15:53"},"2.3.0":{"tag":"2.3.0","author":"berkux","date":"2026-05-25 08:34:30"}},"upgrade_notice":{"2.3.0":"<p>WordPress-Repository does not update to 2.2.1, tried it with 2.3.0<\/p>"},"ratings":{"1":1,"2":1,"3":0,"4":3,"5":16},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3474934,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3474934,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3474934,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.10","1.2.11","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","2.0.0","2.0.1","2.0.2","2.1.0","2.1.1","2.2.0","2.2.1","2.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3474934,"resolution":"1","location":"assets","locale":"","width":580,"height":277},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3474935,"resolution":"2","location":"assets","locale":"","width":1219,"height":930},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":3474935,"resolution":"3","location":"assets","locale":"","width":771,"height":310},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3474935,"resolution":"4","location":"assets","locale":"","width":1167,"height":778},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":3474936,"resolution":"5","location":"assets","locale":"","width":1113,"height":675},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3474937,"resolution":"6","location":"assets","locale":"","width":1117,"height":768},"screenshot-7.jpg":{"filename":"screenshot-7.jpg","revision":3474938,"resolution":"7","location":"assets","locale":"","width":1022,"height":31}},"screenshots":{"1":"Dashboard widget \u2013 Memory Overview with progress bar and latest digest status badges (warn \/ danger \/ critical)","2":"Settings tab \u2013 thresholds, logging options, email alert configuration","3":"History tab \u2013 recent requests with context (URL, type, memory usage)","4":"Digest tab \u2013 aggregated interval summaries","5":"Diagnose tab \u2013 PHP\/WordPress configuration snapshot with AI prompt (new in 2.1.0)","6":"Memory Thresholds tab \u2013 effective limits, assessment and recommendations","7":"Check Installation tab \u2013 server compatibility checks","8":"Admin footer \u2013 memory usage, PHP version, and IP address on every admin page"}},"plugin_section":[262246],"plugin_tags":[83,9434,662,2925,11180],"plugin_category":[50],"plugin_contributors":[82483],"plugin_business_model":[],"class_list":["post-813","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-admin","plugin_tags-memory","plugin_tags-php","plugin_tags-server","plugin_tags-usage","plugin_category-media","plugin_contributors-berkux","plugin_committers-berkux"],"banners":{"banner":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/banner-772x250.png?rev=3474934","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/icon-128x128.png?rev=3474934","icon_2x":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/icon-256x256.png?rev=3474934","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-1.jpg?rev=3474934","caption":"Dashboard widget \u2013 Memory Overview with progress bar and latest digest status badges (warn \/ danger \/ critical)"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-2.jpg?rev=3474935","caption":"Settings tab \u2013 thresholds, logging options, email alert configuration"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-3.jpg?rev=3474935","caption":"History tab \u2013 recent requests with context (URL, type, memory usage)"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-4.jpg?rev=3474935","caption":"Digest tab \u2013 aggregated interval summaries"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-5.jpg?rev=3474936","caption":"Diagnose tab \u2013 PHP\/WordPress configuration snapshot with AI prompt (new in 2.1.0)"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-6.jpg?rev=3474937","caption":"Memory Thresholds tab \u2013 effective limits, assessment and recommendations"},{"src":"https:\/\/ps.w.org\/wp-memory-usage\/assets\/screenshot-7.jpg?rev=3474938","caption":"Check Installation tab \u2013 server compatibility checks"}],"raw_content":"<!--section=description-->\n<p>WP-Memory-Usage is a lightweight but powerful WordPress plugin that monitors and displays memory usage directly in your WordPress admin area.\nIt is essential for site administrators and developers who need to keep an eye on memory consumption, identify bottlenecks, and act before users are affected.<\/p>\n\n<p><strong>What the plugin shows:<\/strong><\/p>\n\n<p>In the <strong>admin footer<\/strong> (every admin page):\n* Current memory usage vs. WordPress limit (with percentage)\n* Current memory usage vs. PHP limit (with percentage)\n* Server IP address and server name\n* PHP version<\/p>\n\n<p>In the <strong>Dashboard widget<\/strong> (\"Memory Overview\"):\n* PHP version, architecture (32\/64 bit), max execution time\n* WordPress memory limit (WP_MEMORY_LIMIT), WordPress admin limit (WP_MAX_MEMORY_LIMIT), PHP memory limit\n* Current peak memory usage with a visual progress bar (colour-coded: green \/ orange \/ red)\n* Latest digest status summary (warn \/ danger \/ critical badges)\n* Link to the Threshold Alerts settings page<\/p>\n\n<p><strong>Settings &amp; Monitor \u2014 Tabs (since 2.0.0):<\/strong><\/p>\n\n<ul>\n<li><strong>Settings<\/strong> \u2014 thresholds, logging options, email alerts, log rotation<\/li>\n<li><strong>History<\/strong> \u2014 latest logged requests with full context (URL, type, user, memory)<\/li>\n<li><strong>Digest<\/strong> \u2014 aggregated summaries of past log intervals; browse, merge, and delete digest files<\/li>\n<li><strong>\ufe0fActions<\/strong> \u2014 practical guidance on what to do when you receive a memory alert<\/li>\n<li><strong>Diagnose<\/strong> <em>(new in 2.1.0)<\/em> \u2014 full PHP\/WordPress configuration snapshot with a ready-to-paste AI prompt for analysis<\/li>\n<li><strong>Memory Thresholds<\/strong> \u2014 current limits, threshold assessment, and recommendations<\/li>\n<li><strong>Check Installation<\/strong> \u2014 verifies that the plugin can run correctly on your server<\/li>\n<\/ul>\n\n<h3>Why Use WP-Memory-Usage?<\/h3>\n\n<p>Excessive memory usage leads to slower sites, HTTP 500 errors, and failed background jobs (cron, imports, backups). WP-Memory-Usage gives you the information you need to act before users are affected \u2014 without overwhelming you with notifications.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Real-time memory display<\/strong> in the dashboard widget and every admin page footer<\/li>\n<li><strong>Colour-coded progress bar<\/strong> (green \/ orange \/ red) for instant status recognition<\/li>\n<li><strong>Three alert levels:<\/strong> Warning, Danger, Critical \u2014 each configurable as a percentage of the effective memory limit<\/li>\n<li><strong>Flexible logging:<\/strong> Ajax, REST, Admin, Cron, favicon requests \u2014 log only what matters<\/li>\n<li><strong>Email alerts<\/strong> with configurable recipient<\/li>\n<li><strong>History tab:<\/strong> recent requests with full context (URL, type, admin screen, REST route, AJAX action, user)<\/li>\n<li><strong>Digest tab:<\/strong> aggregated interval reports \u2014 browse, merge, and delete digest files<\/li>\n<li><strong>Actions tab:<\/strong> plain-language guidance on resolving memory alerts, no developer skills required<\/li>\n<li><strong>Diagnose tab<\/strong> <em>(new in 2.1.0)<\/em>: full configuration snapshot + one-click AI prompt (English, copy &amp; paste ready)<\/li>\n<li><strong>Memory Thresholds tab:<\/strong> shows effective limits, threshold gaps, and concrete recommendations<\/li>\n<li><strong>Check Installation tab:<\/strong> verifies log directory, WP-Cron, PHP functions, disk space, and email setup<\/li>\n<li><strong>Admin bar indicator:<\/strong> quick status badge visible on every admin page<\/li>\n<li><strong>Multisite compatible<\/strong><\/li>\n<li><strong>Clean uninstall:<\/strong> removes all options, cron jobs, database-tables and log files on deletion<\/li>\n<\/ul>\n\n<h3>PluginCheck-Plugin Status<\/h3>\n\n<p>Plugin is compatible with PluginCheck-Plugin. Note regarding \"trademarked_term\": \"WP-Memory-Usage\" and \"wp-memory-usage\" are today considered restricted terms. This plugin entered the WordPress repository in 2009, when those terms were permitted.<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Copyright 2009\u20132013 by Alex Rabe, 2022\u2013 Bernhard Kux<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20is%20the%20memory%20usage%20displayed%3F\"><h3>Where is the memory usage displayed?<\/h3><\/dt>\n<dd><p>In three places: the WordPress dashboard widget \"Memory Overview\", the admin footer on every backend page, and in detail across the plugin's settings tabs.<\/p><\/dd>\n<dt id=\"what%20information%20does%20the%20plugin%20display%3F\"><h3>What information does the plugin display?<\/h3><\/dt>\n<dd><p>PHP version, operating system architecture, WordPress and PHP memory limits, current peak memory usage (in MB and as a percentage), server IP address, and PHP max execution time.<\/p><\/dd>\n<dt id=\"how%20can%20i%20find%20out%20which%20request%20consumes%20the%20most%20memory%3F\"><h3>How can I find out which request consumes the most memory?<\/h3><\/dt>\n<dd><p>Enable logging in the Settings tab. The History tab shows individual requests with their memory usage and context. The Digest tab aggregates this data and highlights the top memory-consuming URLs. Temporarily deactivating plugins is a common next step to isolate the cause.<\/p><\/dd>\n<dt id=\"what%20is%20the%20diagnose%20tab%3F\"><h3>What is the Diagnose tab?<\/h3><\/dt>\n<dd><p>The Diagnose tab (new in 2.1.0) collects a comprehensive snapshot of your PHP and WordPress memory configuration \u2014 OPcache status, garbage collector, loaded extensions, php.ini settings, and more. It generates a ready-made prompt you can copy and paste directly into an AI assistant (ChatGPT, Claude, etc.) for instant analysis.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20wordpress%20multisite%3F\"><h3>Does the plugin work with WordPress Multisite?<\/h3><\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20delete%20the%20plugin%3F\"><h3>What happens when I delete the plugin?<\/h3><\/dt>\n<dd><p>A clean uninstall removes all stored options, scheduled cron jobs, database-tables, and log files. Nothing is left behind.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3.0<\/h4>\n\n<p>WordPress-Repository does not update to 2.2.1, tried it with 2.3.0<\/p>\n\n<h4>2.2.1<\/h4>\n\n<p>Improvement: Under \u201cDiagnostics,\u201d more data is now collected for the AI prompt to help suggest appropriate measures.<\/p>\n\n<h4>2.2.0<\/h4>\n\n<p>New: You can now choose whether settings and log files are stored in files (recommended default) or in the WordPress database. If saving to files does not work, you can try the database option.<\/p>\n\n<h4>2.1.1<\/h4>\n\n<p>Improved: Show a warning on save if the log path is not readable and writable, and optimized the loading of translations<\/p>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>New: Diagnose tab generates a ready-made AI prompt (copy &amp; paste into ChatGPT, Claude, etc.) for instant analysis<\/li>\n<li>New: Diagnose tab \u2014 full PHP\/WordPress configuration snapshot (OPcache, GC, extensions, php.ini settings and more)<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Improved: Replaced PHP 8.0 syntax (match expressions) with PHP 7.4 compatible code \u2014 broadens hosting compatibility<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Fix: Skip log file rotation when no log file has been created yet<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>New: Admin backend tabs \u2014 Settings, History, Digest, Actions, Memory Thresholds, Check Installation<\/li>\n<li>Improved: Dashboard widget shows latest digest status badges (warn \/ danger \/ critical)<\/li>\n<li>New: Plugin logo<\/li>\n<li>Removed: Manual \"Multiple Memory Measurement\" feature<\/li>\n<\/ul>\n\n<h4>1.2.12<\/h4>\n\n<ul>\n<li>New: Expose data for server monitoring via API<\/li>\n<li>Compatible with PluginCheck Version 1.8.0<\/li>\n<\/ul>\n\n<h4>1.2.11<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.9<\/li>\n<li>Compatible with PluginCheck Version 1.7.0<\/li>\n<\/ul>\n\n<h4>1.2.10<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.5.4<\/li>\n<li>PluginCheck 1.0.1 compatible (except trademarked_term)<\/li>\n<li>Escaping output, using gmdate() instead of date()<\/li>\n<\/ul>\n\n<h4>1.2.9<\/h4>\n\n<ul>\n<li>Bugfix: Fixed \"Average MB\" calculation that could trigger a PHP Deprecated warning. Thank you @dimalifragis.<\/li>\n<li>Tested with WordPress 6.4.3 and 6.5-RC<\/li>\n<\/ul>","raw_excerpt":"Monitor PHP memory usage, set alert thresholds, and diagnose your server configuration \u2014 directly inside WordPress admin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=813"}],"author":[{"embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/berkux"}],"wp:attachment":[{"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=813"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=813"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=813"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=813"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=813"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pap-aw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}