I got this when installing:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1268013 bytes) in /home/blogdorg/public_html/includes/database.mysqli.inc on line 360

I take a shared hosting and am not allowed to have more than 32M for the memory_limit. Trying to put memory_limit hack to php.ini in index.php, .htaccess and settings.php causes error and or doesn't do anything at all.

Any work around? Thanks

Comments

robloach’s picture

32 megabytes doesn't allow you to do much. All the caching that Drupal does will certainly require more then what you're being allotted. I suggest sending a complaint to your web host, saying that 32M is just ridiculous, because it is.

What host are you on? Just so that I know not to recommend them to others.

gausarts’s picture

It's in Indonesia, a local growing hosting provider, doesn't really matter to foreign ones. If I knew it was ridiculous, I'd migrate into a better one in the first place, sigh. Doh, doh, doh. Or at most I should upgrade to dedicated one. Thanks, Rob, for throwing the light!

Pushkar Gaikwad’s picture

Status: Active » Closed (fixed)