[Opensource] JSP performance

Vincent Gogan vincent.gogan at goganinc.com
Thu Jul 25 10:57:59 PDT 2002


I have a performance question. I am using Expresso 4.02 with Sun's JDK 1.3.1_03
(deadline is a little tight to use 4.1) and am using Peter Pilgrim's JSP tags.
On one page I have quite a few tags and hitting the page triggers the garbage
collector almost every time. This wouldn't be so bad except that the garbage
collection takes 8/9 seconds. This is on a completely unloaded server (dual
PIII 1.4GHz, 1Gig memory). This isn't very nice behaviour.

I suspect part of the problem is that Tomcat instantiates a new object for
every tag reference
but I wouldn't think this would cause such horrible performance. I have many
other JSP
pages which make use of the same tags and they don't have the same problem.
Does anyone
have any ideas of how to tune things up?

Thanks,

Vincent
vincent at cherniaksoftware.com




More information about the Opensource mailing list