Why are we getting a *Fatal error*: Allowed memory size exhausted?

This error occurs when the specified memory limit for PHP is exhausted (used). This value (memory_limit) can be adjusted via the PHP config tool in your Control Panel.

A full example of the error:


*Fatal error*: Allowed memory size exhausted (tried to allocate 16 bytes) in */usr/www/users/ftpusr/libraries/joomla/database/database/mysql.php* on
line
*462)


  • Increase the memory limit via the xneelo Control Panel

    1. 1
      Browse to the xneelo Control Panel and log in.
    2. 2
      Select a Product (e.g. Web Hosting) from the side menu.
    3. 3
      Select or search for the domain name.
    4. 4
      Under Hosting tools, select PHP Config.
    5. 5
      Click on Edit.
    6. 6
      Increase the memory as necessary by selecting the memory_limit dropdown.
    7. 7
      Click on Save to save your changes.





  • Increase the memory limit via konsoleH

    1. 1
      Browse to konsoleH and log in.
    2. 2
      If you have logged in on Admin level, select or search for the required domain name.
    3. 3
      Select Manage Services and then PHP Config.
    4. 4
      Increase the memory as necessary by selecting the memory_limit dropdown.
    5. 5
      Save the changes you have made.



Assist Note

Disclaimer: We take no responsibility should PHP scripts no longer function due to incorrect settings entered. By saving the settings on the ‘PHP Config’ tool, you confirm that you have understood the configuration variables, as well as the possible effects they may have on your scripts. Details about these configuration options are available in PHP’s online documentation.