Help Center

Troubleshooting an 'Allowed Memory Size Exhausted' Error: A Comprehensive Guide

Memory exhaustion error troubleshooting, Resolving 'Allowed memory size exhausted' issue, Fixing memory allocation errors 1
Print

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:

  • cPanel - How to set or increase PHP INI memory_limit or other values?
  • Plesk - Customizing PHP settings for a domain
  • DirectAdmin - PHP Options

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

 

Was this answer helpful?

Still need a hand?

Our support team is on standby if this article didn't fully answer your question.

« Back