Re: [web2py] Re: Data stored in memory

2011-09-19 Thread Chris Rowson
Thank you all. I think I get the gist of what happens now. Really appreciating all of the effort you guys put into helping people on this list! Chris On Sat, Sep 17, 2011 at 4:17 PM, Anthony wrote: > Also, note that your 'results' dict will only persist for the duration of a > single request.

[web2py] Re: Data stored in memory

2011-09-17 Thread Anthony
Also, note that your 'results' dict will only persist for the duration of a single request. Each request is handled by a new thread (from a thread pool). Anthony On Saturday, September 17, 2011 11:06:14 AM UTC-4, Massimo Di Pierro wrote: > > On Sep 17, 6:31 am, Chris Rowson wrote: > > Hi folk

[web2py] Re: Data stored in memory

2011-09-17 Thread Massimo Di Pierro
On Sep 17, 6:31 am, Chris Rowson wrote: > Hi folks, > > I'm trying to get my head around what happens to data stored in memory when > it isn't needed anymore. > > Let me give you an example. Let's say I create a function which returns a > dict called 'results' populated with data from an external