There is the ability to reduce memory usage however. Web2py likes to
call the import_all module when it first loads up. This basically
imports every web2py module so they are loaded into the python
interpreter. That means when your code actually imports anything from
gluon, the web server won't have to devote the resources to actually
importing that module when a client requests a page. If you comment
out the calls to the import_all module, it will reduce the initial
memory usage.

--
Thadeus





On Wed, Aug 11, 2010 at 9:32 AM, Thadeus Burgess <[email protected]> wrote:
> Thats less than a MB. I don't see why you are complaining =P
>
> Typically my web2py instances all run around 75MB, with a max of 150MB
> under heavy traffic load.
>
> It also depends on how much your caching or how big your select queries are.
>
> --
> Thadeus
>
>
>
>
>
> On Wed, Aug 11, 2010 at 8:20 AM, Frank Church <[email protected]> wrote:
>> I just started web2py on Linux, using the web2py.py command and memory used
>> by the process is already 126K.
>>
>> What is wrong, how can it be reduced?
>>
>> --
>> Frank Church
>>
>> =======================
>> http://devblog.brahmancreations.com
>>
>

Reply via email to