I get this error:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 22508 bytes) in /homepages/18/d242477295/htdocs/drupal-6.x/includes/image.gd.inc on line 190

My PHP.INI, SETTINGS.PHP, and .htaccess have been allocated 32mb. I've even tried it with 512mb just to see if it works but still gets this error.

I have 2 websites that I am having this problem with. It only happens when I upload large files. When I upload smaller files, say 500kb or less i have no problem. Once I get this error I have to delete the module folder to get back into my site, reinstall the folder, turn the module off, run an uninstall on the module, and then it will allow me to delete the node.

THoughts/suggestions? Thanks.

Comments

bryancall’s picture

Ok
So I figured out that I needed to change the settings.php and the php.ini files to both reflect 128mb. No more and no less. Now I do not get the above error, instead I get this error:

Error 500 - Internal server error
An internal server error has occured!
Please try again later.

To fix this I still have to delete the module/image folder, delete the node I tried to create, restore the module/image folder, uninstall the modules via modules/admin and then turn it back on again to get the site to come back up.

HELP!

bryancall’s picture

Ok
So I figured out that I needed to change the settings.php and the php.ini files to both reflect 128mb. No more and no less. Now I do not get the above error, instead I get this error:

Error 500 - Internal server error
An internal server error has occured!
Please try again later.

To fix this I still have to delete the module/image folder, delete the node I tried to create, restore the module/image folder, uninstall the modules via modules/admin and then turn it back on again to get the site to come back up.

HELP!

luis_peralta’s picture

I have the same problem and neither solutions.

boreg’s picture

I had the same problem, but solved it with this: http://drupal.org/node/298386#comment-1025111

sun’s picture

Status: Active » Closed (won't fix)

Sorry, this issue cannot be fixed. See White Screen of Death and memory issues.