-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony,

On 5/29/12 11:17 AM, Tony Anecito wrote:
> For TC 7 how long do servlets stay in memory if not invoked by a
> client or another servlet? How does one control the length of time?
> Is the there a config setting in a file somewhere?

I don't believe Tomcat does any auto-unloading of servlets once they
are loaded. Are you in need of such a feature? Servlets themselves
should be very lightweight in terms of memory usage, since they
basically have to be stateless in order to avoid all kinds of
threading issues.

Are you using SingleThreadedModel or anything like that?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/E9P4ACgkQ9CaO5/Lv0PCffwCcDEf1q6mQ5koGwJD1UOn5EBJh
ZHQAnRa9lTbJNAzIEbgxUuXtwXEZUXDe
=MsSC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to