Others, Web Hosting

Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

If you see an error such as Allowed memory size of X bytes exhausted, you can try adding a memory rule to the relevant .htaccess file.

Add the memory rule

Add the following line to the .htaccess file for the main domain or the directory where the error occurs:

RLimitMem max

If the error continues

  • Check that the rule was added to the correct .htaccess file.
  • Remove the change if it causes an additional server error.
  • Contact tasjeel.ae support if the memory error continues.

Current Category

Find The Perfect Domain Name

www

Other Knowledge Articles