I believe it is caching everything to memory. Here is the code I have. But yes, not a web2py issue.
def read_manager_rows(): manager_db_conn = DAL('sqlite://manager.sqlite', folder=get_current_path(), auto_import=True) global manager_rows manager_rows = manager_db_conn(manager_db_conn.manager_log.id > 0).select(orderby=manager_db_conn.manager_log.datetime) manager_db_conn.close() def get_manager_rows(): return manager_rows On Sunday, February 7, 2016 at 11:10:46 AM UTC+5:30, Massimo Di Pierro wrote: > > This is not a web2py specific problem. Are you caching something is ram? > Do you use a library that may be creating circular references? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.