Linux 软件免费装
Banner图

Memory Scan - PHP Memory Usage - No Crash

开发者 service2client
更新时间 2026年8月1日 04:11
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

performance memory memory limit site health php compatibility

下载

1.0 1.0.0 1.1.0 1.2.0

详情介绍:

Memory Scan tells you, in plain terms, whether your WordPress site has enough PHP memory to run reliably — and warns you before a low-memory crash instead of after. It also keeps an eye on two things that quietly take sites down: running an end-of-life PHP version, and upgrading PHP before your plugins are ready. Rather than guessing from a single admin page (which is one of the lightest requests on a site), Memory Scan records the real peak memory of each request type — front-end, admin, AJAX and cron — and judges your headroom against your PHP memory_limit with a built-in safety margin. What you get: Memory Scan is read-only with respect to your content: it never changes your posts, pages, or other plugins' settings. It only reads memory figures and writes its own small diagnostic values. It never changes your PHP version either — it detects and advises; your host controls the PHP version.

安装:

  1. Upload the memory-scan folder to /wp-content/plugins/, or install it through the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. On first activation you'll be taken to the Memory Scan page. After that you can open it any time from the Memory Scan menu.
  4. Browse a few pages and run your heaviest task so it can record real peaks, then reload the scan.

屏幕截图:

  • Real peak by request type and the per-plugin expected-peak ranking.
  • PHP version support status and the PHP 8.x plugin-readiness check.
  • The Memory Scan verdicts surfaced under Tools → Site Health.

升级注意事项:

1.1.0 Adds a PHP end-of-life advisory, a PHP 8 plugin-readiness check, a dashboard widget, and Site Health integration. All read-only. 1.0.0 Initial release.

常见问题:

Does this slow my site down?

No. It records the memory peak at the end of each request (a couple of arithmetic operations), and only performs the heavier per-plugin scan on admin requests, cached hourly. Nothing extra runs on front-end page loads beyond recording a single number.

Is the per-plugin "expected peak" an exact measurement?

No, and it says so on screen. PHP cannot attribute runtime memory to an individual plugin from a single request, so the per-plugin figure is a conservative estimate based on each plugin's code size. It errs high on purpose, so you provision enough memory rather than too little. The overall verdict uses your real measured peak.

Does the PHP compatibility check run my plugins?

No. It reads WordPress.org's published data about each plugin — the declared PHP requirement, the WordPress "tested up to" version, and the last-updated date, the same information shown on each plugin's page. It never executes your plugin code, so it is safe, but a green result is a strong signal rather than a guarantee. The only certain test is running the upgrade on staging.

Does the compatibility check call an external server or slow my site?

It looks plugins up on WordPress.org — the same service WordPress already uses to check for plugin updates. Those lookups happen only when you click the "Check compatibility" button on the Memory Scan page, are limited to a handful at a time, time out quickly, and are cached for a week. Nothing runs on your visitors' pages, and if WordPress.org is slow or unreachable the plugin simply shows "could not verify" rather than waiting.

Why do some plugins show "not in the WordPress.org directory"?

Premium plugins and custom-built plugins are not hosted in the WordPress.org directory, so there is no published data to read. Those are shown as "could not verify" — check the developer's own PHP-compatibility information for them.

It says my WP_MEMORY_LIMIT is below my PHP memory_limit. What do I do?

The plugin shows the exact line to add to wp-config.php. That setting lives outside any plugin, so Memory Scan can only detect and advise, not change it for you.

Does it change or delete any of my content, or change my PHP version?

No. Memory Scan is read-only with respect to your content — it never touches posts, pages, or other plugins' settings, and it never changes your PHP version. It only detects and advises.

更新日志:

1.2.0 1.1.0 1.0.1 1.0.0