Hi,
I am having an issue increasing my PHP memory limit.
On the modules page, i get the following error (or similar):
Fatal error: Out of memory (allocated 34078720) (tried to allocate 932012 bytes) in /home/sites/almostadoctor.co.uk/public_html/includes/database.mysql-common.inc on line 41
this would imply that my PHP limit is around 32MB.
I have taken steps to try and increase this, editing the php5.ini, php.ini and the .htaccess file, as well as settings.php (after many attempts, beofre i turned on error reporting, i kept increasing the limit, until now i have reach 512M).
Using phpinfo() i can see that the new limit of 512M does appear to have taken effect, however i still get the error message described above.
Is there anything else i need to do? This has been bugging me for days.
Thanks
Comments
A work around
One work around can be to find the module that is causing the memory error. Do you know what is the last module you installed?
Remove all modules from the sites/all/modules and try to access the modules page, then add one by one to check which module is causing error
--
Qasim Zeeshan
http://qasimzeeshan.com
Module error
Hi,
thanks for the quick reply. I think it is the notifications module thats causing the rorr, but i'm hoping for a long-term solution, as i now have moderators for my forum that require this module, and I'm hoping to add more modules soon
Check issue #328244:
Check issue #328244: Notifications Tags UI too many tags fix
--
Qasim Zeeshan
http://qasimzeeshan.com
Thanks guys for your help,
Thanks guys for your help, but i'm not really looking for a work around for notifications. Just a plain and simple out of memory problem, and i need more memory!
Whats strange is that the phpinfo() is telling me my changes have worked, but drupal just isn't recognising them.
below are the relevant sections of my files,. Maybe i have done something wrong...
The entire contents of php5.ini
The relevant section of .htaccess
The relevent section of settings.php:
on my ftp, the locations of the files are:
/public_html/php5.ini
/public.html/.htaccess
/public.html/sites/default/settings.php
I fixed this issue with
I fixed this issue with adding the following line to my .htaccess
RLimitMem 128000000
easy as that!