Linux 软件免费装
Banner图

ForgeHub Image Memory Guard

开发者 wpforgehub
更新时间 2026年11月27日 07:39
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media library memory limit image memory upload error php memory

下载

1.1.8 1.1.9

详情介绍:

One of the most common and disruptive errors in WordPress is uploading a high-resolution photo only to encounter a generic "HTTP error" or fatal crash: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32000000 bytes) When an image is uploaded, WordPress and GD / Imagick must decompress the full uncompressed raster into RAM to generate intermediate thumbnails (thumbnail, medium, large, etc.). A 15 MB photo can easily require over 180 MB of RAM during decompression! Image Memory Guard prevents this catastrophic crash before it happens: Key Features (Free Version) Pro Features (Separate Commercial Plugin) Need background processing or next-gen conversion? The separate commercial Pro edition is available at WPForgeHub and is not bundled in this free plugin: * Background Chunked Resizing: Queue heavy resizing tasks in the background via Action Scheduler. * WebP & AVIF Dual Engine: Auto-convert uploaded images to next-gen formats with CPU throttling. * WP-CLI Library Audit: Scan entire media library via command line for memory-heavy attachments. * EXIF Privacy Sanitizer: Strip location and camera metadata before decompression.

安装:

  1. Upload the forgehub-image-memory-guard folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Settings > Image Memory Guard to view server diagnostics and test image dimensions.

常见问题:

How does Image Memory Guard protect against memory crashes?

It intercepts the upload process before image decompression occurs, calculates the necessary RAM budget using binary header dimensions, and either elevates memory temporarily or downscales the master file to prevent PHP crashes.

Does this plugin alter my original images?

Only if the image exceeds your server's safe memory limit and you have enabled the Auto-Downscaling feature. Otherwise, it simply prevents the crash and displays an informative notification.

Does this plugin require any external API or service?

No. Image Memory Guard runs entirely locally on your WordPress server with zero external dependencies.

更新日志:

1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.0