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 your server.

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

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: October 30, 2024