Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 39 bytes) in xxx/xxx/xxx/xxx [closed]

I have hosted one drupal website in godaddy. but now a days I am fighting with most weird problem "Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 39 bytes) in xxx/xxx/xxx/xxx". I am beating my head against a wall to solve out that problem but nothing is useful for me. It always shows this error, whether I install new module,delete module,clear cache or add article etc, in almost all cases it shows allow memory size exhausted error. I also go through my php.ini file and change memory_limit = 128M but that error is not live me in drupal world. Please help to sort out this issue..

here is my phpinfo:

enter image description here

i already increased my memory_limit in php.ini from 64MB to 128MB, but it is not getting reflected in my server. when i go to https://www.ginfy.com.phpinfo.php still it is showing 64MB.

like image 901
Jitendra Patidar Avatar asked Apr 25 '13 06:04

Jitendra Patidar


People also ask

How do I fix fatal error allowed the memory size of 134217728 bytes exhausted?

Change the memory limit in the php. ini file and restart Apache. After the restart, run the phpinfo(); function from any PHP file for a memory_limit change confirmation. Memory limit -1 means there is no memory limit set.

How do I fix fatal error allowed memory size?

To fix the error, you have to manually increase the default PHP memory limit set for your server.

How do I fix the allowed memory size 1610612736 bytes exhausted?

Try prefixing your command with COMPOSER_MEMORY_LIMIT=-1 . This will remove the memory limit for the execution of the command. Update: Memory exhaust errors should now be resolved by using Composer 2.


1 Answers

The change u've made in your php.ini file has not been reflected because the allocated memory 67108864 bytes is 64MB.

Follow Drupal Community Documentation increase the PHP memory limit. In Case of shared hosting please request the hosting provider to increase it.

like image 149
Prem Anand Avatar answered Oct 24 '22 11:10

Prem Anand