You should use memcache instead of your servlet env. The memcache service will evict values if you run out of memory.
2010/3/10 Prashant Gupta <[email protected]> > Hi, > > I have designed my app to keep data (within servlet env.) for all previous > requests. For each request it will first search the data in "servlet env. > store", if it doesn't find the data here it will fetch data from datastore > and append the same to "servlet env. store". So, if the same servlet lives > for longer duration it might accumulate lots of data. What's the risk here? > What's the upper limit of memory use? What will happen if my app hit this > upper limit? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
