request higher PHP memory_limit

Status
Not open for further replies.

tomsm

New Member
Messages
17
Reaction score
0
Points
0
I have uploaded my Drupal site and when I open my homepage I get following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/tomsm/public_html/sites/all/modules/views/modules/taxonomy.views.inc on line 78

I guess that the PHP memory_limit of 32M is too low. I have set the memory limit of my local wampserver to 64M and I do not have this issue. When I choose 32M I get a similar error when I try to edit a view.

Where do I submit a PHP feature request for a higher memory_limit? I have a free hosting account.

Thank you.
 
Last edited:

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
There is curerntly a high ressource usage on the servers as corey is doing some MySQL maintenance. Wait for the maintenance to complete, and try loading the page again.
 

tomsm

New Member
Messages
17
Reaction score
0
Points
0
Still the same error. What are my upgrade options? Can free hosting have a higher memory limit (>32M)?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
If I remember correctly, Drupal has a setting to lower memory consumption. Mainly the taxonomy module is a memory hog. Try disabling it in the ACP.
 
Last edited:

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
Still the same error. What are my upgrade options? Can free hosting have a higher memory limit (>32M)?
If the memory usage limit is raised, the servers will get extremely slow, as every account (there are lots of accounts) will be able to use more of the server's CPU.
Try lowering your memory usage, change script, or buy paid hosting.
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
I have uploaded my Drupal site and when I open my homepage I get following error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/tomsm/public_html/sites/all/modules/views/modules/taxonomy.views.inc on line 78

I guess that the PHP memory_limit of 32M is too low. I have set the memory limit of my local wampserver to 64M and I do not have this issue. When I choose 32M I get a similar error when I try to edit a view.

Where do I submit a PHP feature request for a higher memory_limit? I have a free hosting account.

Thank you.

By looking at the figures inn your post. Actually the memory limit is 32MB = 33554432 bytes, In your php file it tried to allocate 30720 bytes = 30KB, Then what is the problem. :cool:

Can you check the code once again.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
We will look into raising it once we are done with our MySQL project.
 

tomsm

New Member
Messages
17
Reaction score
0
Points
0
I have checked this issue on Drupal.com. It seems common that the error message mentioned a smaller allocated size then the total memory size.
I use the Views and Imagecache module which may require a higher PHP memory limit. On my local wampserver with 32M, I can access my homepage but when I edit a view a have a memory error.
With 64M everything goes well.

Example I found on drupal.org:
<i>"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2761 bytes) in /home/gotantan/public_html/rwolfefamily/modules/views/views_cache.inc on line 146"</i>

Another interesting link regarding this issue found on Drupal.org:
http://drupal.org/node/31819

I use this site for development purposes. It will not have a lot of visitors. I hope this limits the stress on the webserver if the memory limit is increased.
 
Last edited:
Status
Not open for further replies.
Top