Re: [appengine-java] What are the rules for object persistence between requests

2010-03-07 Thread John Patterson
Hi Mike, static variables are a useful way to cache short term data. They will last as long as the instance lasts which is hard to predict. I read some time ago that there is an undocumented limit of about 100MB of memory per instance. On 8 Mar 2010, at 01:02, tempy wrote: On the dev se

[appengine-java] What are the rules for object persistence between requests

2010-03-07 Thread tempy
On the dev server, I have a singleton DAO that encapsulates all logic relating to the datastore and memcache. I was surprised to find that the singleton persists between requests, and will generally go on existing until I restart the dev environment. Does this reflect production app engine behavi