I experience memory usage problems on Webfaction from time to time.  Even
after doubling the initial configuration from 80Mb to 160Mb I get messages
like intermittently this from Webfaction:


Your total allowed memory is 160MB and your current memory usage is 223MB.
...
zenex - 3MB - 14 days, 22:16:22 - 6159 -
/home/zenex/webapps/web2py/apache2/bin/httpd -f
/home/zenex/webapps/web2py/apache2/conf/httpd.conf -k start
zenex - 111MB - 14 days, 22:16:22 - 6166 -
/home/zenex/webapps/web2py/apache2/bin/httpd -f
/home/zenex/webapps/web2py/apache2/conf/httpd.conf -k start
zenex - 109MB - 14 days, 22:16:22 - 6167 -
/home/zenex/webapps/web2py/apache2/bin/httpd -f
/home/zenex/webapps/web2py/apache2/conf/httpd.conf -k start


I have disabled cron and have recently, on advice from the support team of
Webfaction configured the site in such a way that the stuff in /static is
being served by Apache directly without using up my quota of memory.
Despite that this happened again.

Question: Does comments in the code contribute to higher memory usage?  Will
it help if I remove all comments?

Regards
Johann

-- 
 May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord!  His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
                                                    2 Pet. 1:2b,3a

Reply via email to