Allowed Memory Exhausted Errors


You see the following error:

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


WHMCS has reached maximum amount of memory available to PHP on your server.

The memory_limit setting in your server’s PHP configuration controls this.


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.


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

Last modified: June 5, 2024