How do I change the memory limit to fix the Allowed memory size exhausted error?

Avatar
  • Answered
Dear Sir:

Today I add a easydiscuss extend to my site,and I open the page, I saw:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15767 bytes) in /home/mixtil5/public_html/components/com_easydiscuss/classes/lessc.inc.php on line 3311

My memory is:
Maximum amount of memory a script may consume (32MB)

May I know how to fix it?
Avatar
Scott
Hello michael_flow, In this case, it is advised to further increase the memory allowance of your php. You can do this via the php.ini file found within your cpanel. Please follow the instructions in our article on How to fix the "Allowed memory size Error" You do not necessarily need to double it to 64MB. In fact, it is recommended to increase it in smaller increments, for example by 2 (to 34MB) or 6 (to 38MB) and see if that helps. If it still exists, increase it again until the error goes away. Best Regards, Scott M