| View previous topic :: View next topic |
| Author |
Message |
AnilKumar

Joined: 09 May 2008 Posts: 197
|
Posted: Tue Jan 12, 2010 5:21 am Post subject: Drupal - Fatal error : allowed memory size exhuasted |
|
|
Hello,
When i want to add any module then i got following error:
Fatal error : allowed memory size exhuasted.
I am spend lot of time to overcome this error.
Thank you in advance,
Anil Kumar  |
|
| Back to top |
|
 |
Sanjana
Joined: 02 Feb 2009 Posts: 46
|
Posted: Tue Jan 12, 2010 5:28 am Post subject: |
|
|
Hello,
There is solution for it,
Follow three steps to overcome this error.
1) If you have permission to access the php.ini file then change the memory limit (memory_limit = 16M) if you have problem with 16 M then change it to 32 M.
2) ini_set('memory_limit', '16M') in sites/default/settings.php file
3) php_value memory_limit 16M in .htaccess file at drupal root folder
in second and third position we can chnage the 16M to 32M when there is problem with 16M.
Hope this will be useful and i solved my problem when i got this error in the same way.
Thank you. |
|
| Back to top |
|
 |
|