How do I query memory for a Java Application?

From: Katerina McLean (Cat_at_nospam.com)
Date: 08/27/04


Date: Fri, 27 Aug 2004 09:30:26 -0700

I recently inherited a java application that runs within a Tomcat (on a
Linux box). The application hold tons of information - rather than going
to the database. This makes it hard for me to troubleshoot.

What would be the ways I can query the memory? Can I do this from the OS
command line?

Or should I insert the query lines in the java app?

Preferably it would be great to be able to do interactive query - when
the application is running. As some of the data is dynamic - it will be
great to be able to observe the changes.

Thanks for helping me out on this - I am in a major conundrum.

Kat in Seattle



Relevant Pages

  • Re: dynamic type checking - a pauline conversion?
    ... to actually write the code in Java. ... Is the query handled ... One of the problems with Java typing is small differences in interfaces ... array iteration, List iteration, and database query result iteration all ...
    (comp.object)
  • RE: Slow response time from Java compared to Query Analyzer
    ... Slow response time from Java compared to Query Analyzer ... Please reply only to the newsgroups. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Query LDAP from Linux??
    ... > I have a developer that wants to be able to query AD ... > using a Java based Linux app, what to I need to tell him ... have to explicitly send a bind request with the DN of a domain account. ... This should be no problem with any Java LDAP API ...
    (microsoft.public.windows.server.active_directory)
  • Re: Selecting Multivalues
    ... association to exist in the file and in the query, ... JavaScript; or those writing VB who are asked to write Java. ... distinguish between an empty dynamic array, ...
    (comp.databases.pick)
  • Re: Can UPDATE be used for populating DB using JDBC
    ... >use INSERT because it appends data into the DB on each executionof the ... find it easier to formulate the query in the Access query design view ... and then convert it to SQL using the SQL view. ... the result to your Java program. ...
    (comp.lang.java.programmer)