Does anyone know how much memory space is avaiable in the servlet context
object. I will be using this object to cache database queries. However i
want to know how much stuff i can put in there with out causing performance
problems. Does anyone know how much memory it uses.

please don't answer: depends on the platform and how much memory you have.

i need to know a ratio.

For example if the machine running the servlet container had 256mb of memory
how much would the servlet context be given. would it be a finite amount or
would it be allocated as needed. If allocated as needed how will i know when
it will run out.

the problem is it will keep adding stuff to the cache on each db query but i
want to know when it is full and thus when to stop adding.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to