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

14,688

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.

Share:
14,688
Jitendra Patidar
Author by

Jitendra Patidar

I am a Software engineer (Ruby on Rails Developer). Company Website - http://www.ibettertechnologies.com Facebook - https://www.facebook.com/JitendraPatidar88 LinkedIn - https://www.linkedin.com/in/JitendraPatidar Project: IBetter- https://www.ibetter.in (Software For Betterment of Life)

Updated on June 18, 2022

Comments

  • Jitendra Patidar
    Jitendra Patidar almost 2 years

    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.

  • Jitendra Patidar
    Jitendra Patidar about 11 years
    thanks but i already tried it, still problem is there..
  • chandresh_cool
    chandresh_cool about 11 years
    May be you are limited by the server's physical memory.?
  • Jitendra Patidar
    Jitendra Patidar about 11 years
    we have unlimited memory space in godaddy.
  • chandresh_cool
    chandresh_cool about 11 years
    If that is the case you have to increase the memory of server
  • Jitendra Patidar
    Jitendra Patidar about 11 years
    i already spoke with hosting provider but they told that you have to minimize your modules instead of giving proper solution.. @Prem
  • Jitendra Patidar
    Jitendra Patidar about 11 years
    but how we can do it, please can you tell me?
  • Prem Anand
    Prem Anand about 11 years
    64mb is less for a drupal site. Did u try "php_value memory_limit 128M" in htaccess file
  • Spudley
    Spudley about 11 years
    "unlimited memory space" is impossible. there is always a limit. also, be careful not to confuse memory space with storage space (which is more likely to be listed a 'unlimited', even though there may realistically be limits there too)
  • Jitendra Patidar
    Jitendra Patidar about 11 years
    understand @Spudley, but right now how i solve this problem, why with every update of module or anything i do such error is coming.
  • Jitendra Patidar
    Jitendra Patidar about 11 years
    yeah @Prem, tried that one also, no solution yet.
  • Alagunambi Welkin
    Alagunambi Welkin about 11 years
    better change your hosting provider