Re: Debugging java memory usage in tomcat



zigzagdna@xxxxxxxxx wrote:
I have tomcat5. installed on a Windows 2003. Tomcat was installed as
part of a Custtomer application. Tomcat runs as a Windows service, and
one can see tomcat5.exe process in task manager. When I access the web
site of my third party application, I see thread count of tomcat5.exe
increase as well memory usage increase. I do not however see any jvm
(java)
process in task manager. When I look at vendor's script for setting up
windows service using tomcat5.exe, I do find references to java and
various jvm options such as minimum and maximum heap sizes.

I want to find find how much memory on the heap is allocated as
people access the web site. I know in java console, I can set some
debugging/tracing parameters but they do not seem to take in effect
with tomcat service. Why?

Appreciate any pointers on where java process is for tomcat and how to
monitor its memory usage.

I assume that the tomcat5.exe process is the Java process (using JNI
to activate Java).

A quick glance at service.bat indicates that you can specify memory
settings there (when defining service).

It is easy to monitor memory usage via a simple JSP page.

Arne
.



Relevant Pages

  • Re: Debugging java memory usage in tomcat
    ... one can see tomcat5.exe process in task manager. ... increase as well memory usage increase. ... windows service using tomcat5.exe, I do find references to java and ...
    (comp.lang.java.programmer)
  • Debugging java memory usage in tomcat
    ... Tomcat was installed as ... increase as well memory usage increase. ... windows service using tomcat5.exe, I do find references to java and ...
    (comp.lang.java.programmer)
  • Re: JSP Related
    ... tomcat cannot start and so what is way to come out of this deadlock ... In this respect it is just like any other Windows service. ... This is why I have come to respect operators more than programmers. ... eclipse than it starts but when I go to browser to check Apache ...
    (comp.lang.java.help)
  • Working set increases
    ... Windows Server 2003 EE, .Net Framework 1.1, C# ... I have a problem of memory usage growing continuously. ... my application is a windows service that polls a webservice ... foreach (string ticket in tickets) // tickets is normally empty and the ...
    (microsoft.public.dotnet.languages.csharp)
  • SQL Server 2000 Memory Usage.
    ... I am monitoring the memory usage for the Windows Service, ... I am observing that the memory usage for Windows Service and DLLHOST ... In case of SQL Server the memory usage keeps on increasing. ... keeps on increasing memory as long as there is free memory. ...
    (microsoft.public.dotnet.framework.performance)