Apache memory requirements

Hi,

Is there an estimate on how much memory I should allocate for a Yii application under Apache? I realize the answer is probably “it depends”, but are we talking 6MB or 60MB for a simple app? What’s the best way to find out how much I need? Start low and wait for a memory error?

Thanks.

For me it mostly depends on how intensively I use ActiveRecord. 32-64MB is a good starting point, but if you are going to instantiate 100+ AR objects somewhere in your application you will probably get "out of memory" error (though you should consider using DAO when working with a huge amount of data).