0 votes
1.5k views
by (1.2k points)

I have installed new theme on my WordPress powered blog. But suddenly it showing following message. Please help me to get rid of.

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/username/public_html/wp-content/themes/xyztheme/libs/Less.inc on line 3032
Fatal error: Allowed memory size of 67108864 bytes exhausted

1 Answer

0 votes
by (9.7k points)

Yes, it's a common problem on shared hosting. To control and stabilise the traffic to an individual website, most hosting providers set the max cap for memory utilisation. The outcome of which, each website can share feasible memory.

As your website is WordPress CMS based, you can follow below steps.

  1. Open cPanel > Filemanager or FileZilla / FTP Client
  2. Navigate to public_html directory
  3. Edit wp-config.php
  4. Insert the following line anywhere (must on new line)
define('WP_MEMORY_LIMIT', '100M');​

Done..! Now refresh your website.

Welcome to DoubtSolver Q&A, where you can ask doubts and receive solutions from other members of the community.

Categories

...