CloudLinux Memory (RAM) Limit: Causes & Fixes — cPanel & Hosting How-Tos cPanel & Hosting How-Tos

CloudLinux Memory (RAM) Limit: Causes & Fixes

By Genhost Team 2 min read

Memory is the limit most likely to produce a visible error. In your CloudLinux LVE cage, PMEM (physical memory) is the amount of RAM your account’s processes can use at once — and it’s a hard limit. This guide explains what uses RAM, why you see “memory exhausted” errors, and how to fix them.

What the memory limit is

PMEM is your account’s RAM ceiling, shared across every process running at that moment. Unlike CPU (which throttles), memory is hard: when a script needs more than is available, it’s stopped, usually with a PHP “Allowed memory size exhausted” fatal error or a blank page.

PMEM vs PHP memory_limit: memory_limit caps a single PHP script; PMEM caps your whole account. Raising memory_limit helps one legitimate task finish, but PMEM is the true ceiling — many requests running at once can still hit it.

What consumes memory

  • Each PHP worker holds RAM while it builds a page; many simultaneous requests multiply it.
  • Bloated apps and plugins — page builders, big product catalogs and heavy themes raise per-request memory.
  • Importers and backups that load a lot of data into memory at once.
  • Memory leaks in poorly coded plugins or themes.
  • A memory_limit set too low for a genuine task (large import, backup, media processing).

What hitting it looks like

The exact message is in your error logs — always check there first.

How to reduce memory usage

  1. Cache your pages — fewer pages built means fewer memory-hungry PHP workers running at once. See LiteSpeed Cache for WordPress.
  2. Cut plugin bloat — deactivate heavy or duplicate plugins.
  3. Raise the per-script memory_limit sensibly (within your plan) so one legitimate task can complete — see increase PHP limits in cPanel.
  4. Run big imports in smaller batches instead of all at once.
  5. Update or replace any plugin that leaks memory.

See your memory usage

In cPanel open Resource Usage (shown as LVE on some servers) to see live PMEM use and graphs over time. For a full tour, see understand your resource usage in cPanel.

Still hitting the limit?

If RAM stays full after caching and cleanup, your site needs more memory than shared hosting provides. A Managed VPS gives you dedicated RAM. This is one of several LVE limits — see CloudLinux LVE limits explained for the full picture, plus the related CPU and entry processes guides.

Every Web Hosting and WordPress Hosting plan at Genhost runs on CloudLinux with published memory limits. If a “memory exhausted” error has you stuck, our support team can pinpoint the cause with you.

Frequently asked questions

What is PMEM in CloudLinux?

PMEM (physical memory) is the amount of RAM your account's processes can use at once. It's a hard limit — exceed it and the script is stopped, usually with a PHP 'Allowed memory size exhausted' error or a blank page.

Why do I get 'Allowed memory size exhausted' errors?

A script asked for more memory than allowed — either the per-script PHP memory_limit is too low for a legitimate task, or plugins/imports are using too much RAM and hitting your account's PMEM cap. Caching, fewer plugins and smaller import batches fix most cases.

Is PHP memory_limit the same as my account's RAM limit?

No. PHP memory_limit caps a single script; PMEM caps your whole account across all running processes. Raising memory_limit lets one task finish, but PMEM is the real ceiling — many requests at once can still hit it.