Knowledgebase

Understanding Memory Limits Print

  • serverresourcelimits, server, php, plugins, errors, cpanel, caching, troubleshooting
  • 0

How much memory your account may use.

TWO DIFFERENT LIMITS

PHP memory limit: how much one script may use

Account memory limit: how much your account may use in total

THE SCRIPT LIMIT

Exceeded: a fatal error naming the limit and the file.

Adjustable in cPanel, within your plan's allowance.

THE ACCOUNT LIMIT

Exceeded: requests fail or are queued.

Usually caused by many simultaneous requests rather than one heavy script.

WHAT CONSUMES MEMORY

Each simultaneous request Large datasets loaded at once Image processing Plugins loading unnecessarily

HOW TO REDUCE IT

Caching, which means fewer requests reach PHP at all Fewer plugins Fixing anything loading large amounts of data

THE DIAGNOSTIC POINT

A single script exceeding memory names a file in the error log.

That identifies the responsible component.

WHAT NOT TO DO

Raise the script limit repeatedly without asking why.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot