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 <nextprash...@gmail.com>

> 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
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to