Hi,
I seem to be running into problems with memory, as I have several Drupal installations installed (no users yet besides myself), I have increased server-wide memory limits as well as the max execution time. I am not hosted on shared hosted. My sites are currently housed on a cPanel Xen VPS with 512MB dedicated RAM and 1GB burst RAM.

I changed php_memory_limit and max_execution_time via cPanel/WHM->Service Configuration->PHP Configuration Editor, I checked to make sure the changes went through via phpinfo, and sure enough they did.

This is what I changed the values to:

  • php_memory_limit 128MB
  • max_execution_time 90

    I thought those values were more than enough, yet I am still receiving error messages when I attempt to enable modules.

    The fatal error messages I was receiving before were due to JSMin+ in one of the modules, so I disabled that option, now I receive this error:

    Fatal error: Out of memory (allocated 38535168) (tried to allocate 525766 bytes) in /home/user/public_html/sitename.com/includes/database.mysqli.inc on line 303

    Any other suggestions? Am I just straining my VPS too much? Any comments or help would be greatly appreciated.

  • Comments

    dddave’s picture

    ... to see wether your install really picked up the memory limit change.

    Have you read http://drupal.org/node/207036 for additional solutions to the memory problem?