Rainer Schöpf schrieb:
Hi Angie,
> Hi Jann,
> > Running only an hour is not very long for a web application :-) Did you
> > already increase the heap size for Tomcat using the -Xmx option for the
> > jvm.
> Erm, yes. I am using JAVA_OPTS="-Xms=128 -Xmx=256" ... The machine itself has
> 1024 MB of memory ... There is no message saying "Out of memory" or "Not
> enough heap space", only the CPU is working hard after around an hour,
> looking as if it would really have to do loads of jobs.
You could try the jconsole tool that comes with JDK to inspect a running Java
VM. To connect to tomcat, you need to either run jconsole as the tomcat user, or
configure access (not much fun ;-))
Some info can be found here:
http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html
Another nice tool is the YourKit profiler: http://www.yourkit.com/
They provide free licenses for open source developers and just ask for a
testimonial in turn (which is easy to write because the tool is really
good).
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]