I think that is so as minimum because of after applying the patch it can be 
retrieved
nearely all the jdk documentation (except of some huge files ( > 2M ) ).

One more thing - average size of *.class file in the specified sample is 30-50K.

Regards,
Yarick.

Yoav Shapira wrote:

What makes you think your OOME has to do with the number of JspServlet
instances?  Run a profiler, you might be surprised.

Yoav

On 3/3/06, Yaroslav Sokolov <[EMAIL PROTECTED]> wrote:

Hi,

I have found, that once loaded jsp-servlets are never unloaded.

To test I just configured tomcat to process *.html files by JspServlet
and then traversed jdk documentation. The result was not very exciting -
after browsing ~ 150 pages tomcat cried "java.lang.OutOfMemoryError: Java heap 
space"
and started not to work...

So maybe it would be not a bad idea to try to keep in memeory just some fixed
number of jsp-servlets ?

I have written a sample implementation of such a policy, but it is not very 
elegant
as internal structure containing jsp-servlets, it seems, was not designed for 
such actions...

Regards,
Yarick.

[skipped]

--
Yoav Shapira
Senior Architect
Nimalex LLC
1 Mifflin Place, Suite 310
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to