Greetings

Drupal is/was installed but not accurately.

There are a couple of errors one being:

Fatal error: Out of memory (allocated 98566144) (tried to allocate 30720 bytes) in /home1/xxxxx/public_html/mainlobby/sites/all/modules/image/image.install on line 102

Can someone please assist me with this matter asap?

Thank you very much.

Comments

johnhanley’s picture

PHP does not have enough memory allocated to complete the operation. You (or your host) need to increase the 'memory_limit' variable in php.ini to at least 32M.

dman’s picture

Your answer can be found in the troubleshooting FAQ

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

Sree’s picture

Hi, Its a small memory size adjustment in php.ini file.
Some hosting providers allows you to adjust it according to your requirements & some may not.

Check it out & update it accordingly.

If you have any further issues feel free to post here or contact me.

-- Sree --
IRC Nick: sreeveturi

thenextbigthing’s picture

Thank you for your comment and your assistance, but I still need help. The hosting company reset my php.ini files -- and it still doesn't work, they told me that I would have to put php.ini in every area that receives that error? Does that sound right?

If you can help I will be grateful!

aryanto’s picture

I have Drupal running on a Compaq Armada 7792DMT laptop used as my backup Lighttpd web server, which has maximum 144 MB of RAM. But I have to remove all the unnecessary modules, including the Drupal core modules that I don't use. I have it running even with 8MB of "memory_limit" in my php.ini.

aryanto’s picture

I have Drupal running on a Compaq Armada 7792DMT laptop used as my backup Lighttpd web server, which has maximum 144 MB of RAM. But I have to remove all the unnecessary modules, including the Drupal core modules that I don't use. I have it running even with 8MB of "memory_limit" in my php.ini.

thenextbigthing’s picture

Ahhh let me try that!

Sree’s picture

remove all the unused modules ....
if it still doesnt work just drop a message again.

-- Sree --
IRC Nick: sreeveturi

criznach’s picture

What modules are you using? I've found that certain combinations require more than 32MB to run well. Are you running any other PHP apps on this account?

rlnorthcutt’s picture

I have found that this in my php.ini file (placed in the public_html folder) works for most of my clients:

register_globals = off ;
memory_limit = 30M ;
upload_max_filesize = 10M ;
post_max_size = 20M ;
zlib.output_compression = 1;
zlib.output_compression_level = -1;

The zlib stuff is to enable compression for the webpages (search for Yslow for details), and can be removed. The other settings work great.

regards,
Ron Northcutt
Freelance Developer

Social Networking Websites

Peace, Compassion, Prosperity

regards,
Ron Northcutt
Directory of Technical Marketing, Acquia

devenderdagar’s picture

change max upload size to 100m and then try again. Hope it will work.

andrewge’s picture

We had a similar issue and discovered that someone had set htaccess to overide the php.ini setting - something to check...