Make sure cron is disabled (should default off with mod_wsgi but
defaults to on with rocket).
Also be careful not to use cache.ram keys that are input dependent.

On Sep 21, 8:47 am, Johann Spies <[email protected]> wrote:
> Yesterday for the first time I deployed web2py on a commercial
> platform (Webfaction) and today I received two messages from
> Webfaction that I was using more memory (135Mb) than what the Shared 1
> option allowed for (80Mb).  And that was before the application was in
> full use!   I have requested an upgrade to Shared 3.
>
> Now my question: How do I keep memory usage down on such a platform
> when I have to serve 1. a fairly complex database and 2. a possibility
> of a lot of data? I chose Postgresql as database thinking that with
> the efficiency of Postgresql as backend I would avoid using too much
> memory.
>
> Regards
> Johann
>
> --
>     "The fool hath said in his heart, There is no God..."
>                                Psalm 14:1

Reply via email to