I think this primarily a problem of how web2py is being served rather
than a web2py problem. Just the welcome app and no traffic takes 70MB
of memory by default.


On Fri, Nov 11, 2011 at 11:59 AM, Bruno Rocha <[email protected]> wrote:
> On Fri, Nov 11, 2011 at 12:52 AM, Richard Baron Penman <[email protected]>
> wrote:
>>
>> I was also surprised how much resources the default configuration
>> uses, just for the welcome app. Seems Django has better configuration.
>
> Avoid the use of models, try to use conditional models (subfolders) or
> better, create your datamodels and other instances (Auth, Crud) in /modules
> and load it only when you need it.
> See this presentation from Martin Mulone for better practice on
> this: http://www.slideshare.net/martinpm/web2py-pensando-en-grande-9448110
> --
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>

Reply via email to