Guides & TutorialsTroubleshootingCommon ErrorsTroubleshooting an "Allowed memory size exhausted" Error

Troubleshooting an "Allowed memory size exhausted" Error

If you see an error that resembles 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.

Utilities > System > PHP Info

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

phpinfo memory_limit

Increase this setting until the error is resolved. For more information about the recommended value, see System Requirements.  We also recommend checking to ensure that you meet all other system requirements.

For more information for specific control panels, see:

For assistance, contact your hosting provider or system administrator.