Allowed Memory Exhausted Errors

Problem

You see the following error:

Allowed memory size of xxxxx bytes exhausted (tried to allocate xxxx bytes)

Cause

WHMCS has reached maximum amount of memory available to PHP on the server. The memory_limit setting in the server’s PHP configuration controls this limit.

Troubleshooting

To check the current memory limit setting, go to Utilities > System > PHP Info.

Find the memory_limit directive and note the local value column’s value.

Solution

Increase this setting until the error resolves. We also recommend checking to ensure that you meet all other system requirements.

Last modified: 2025 February 4