Hi All

Drupal version: 6.2
Memory allocated: 32mb

I have a problem where I received the following error on enabling a couple of modules Calendar and DateAPI modules:

Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes)

I have another post asking for help on how to get out of trouble here http://drupal.org/node/271734. This post is about trying to work out what caused it.

I understand from other posts (http://drupal.org/node/247757 - see bottom) the error caused by not having enough memory for the modules loaded. This has been confirmed by my host company. Problem is that the modules loaded are fairly standard. Below is a list of all the modules installed grouped into enabled, disabled.

I can see that I can turn off the themes that I'm not using. Would removing them altogether help?

I would have thought the modules installed were fairly standard (see below) but is the list of modules unreasonable for 32mb of memory?

Thanks
Richard

Modules Loaded

Enabled
advanced_help
backup_migrate
block
calendar
calendar_ical
color
comment
contact
content
content_copy
content_permissions
date
date_api
date_copy
date_php4
date_popup
date_repeat
date_timezone
dblog
extlink
fieldgroup
filter
help
menu
node
nodereference
number
optionwidgets
php
search
sitedoc
system
taxonomy
text
tinymce
update
upload
user
userreference
views
views_export
views_ui

Themes (turned on)
pixture (used)
bluemarine (not used)
pushbutton (not used)
minnelli (not used)
garland (not used)
marvin (not used)
sky (not used)

Modules Disabled
aggregator
blog
blogapi
book
chameleon
forum
help_example
locale
openid
path
ping
poll
profile
statistics
syslog
throttle
tracker
translation
trigger

Comments

vm’s picture

removing themes has no impact on memory.

each module requires memory. Drupal 6.x on its own requires 16M, That said and looking at the modules you have enabled, I'd say you need 64M to be safe. The more modules you enable the more memory that is required.

rsellwood’s picture

Ok, thanks for your help.

holeepassion’s picture

how about drupal 5.x ??? i have two websites on one account. It was working fine. Suddenly, it got this message on a free server account. I think it is a trick by the host to trick people to sign up then encourage people to upgrade to their pay/premium service. hmmmmm

It says now on php, I just checked it only allowed 16M, is it possible to make it work with 5.x ???

I deleted one of the website and it still does not matter. I changed the .htaccess but again it does not matter as they only allow 16M... oh well time to find a more flexible web host in the mean time. I have to get their ad everytime I log in to their cpanel.

Anybody knows a friendly drupal free host out there ?

Thanks

vm’s picture

If your site has any kind of traffic, that site can be expected to out grow any free host.