tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Boyer" <>
Subject Re: setting java options and verbosegc output
Date Mon, 15 Nov 2004 18:48:03 GMT
you might find this useful for fine-tuning JVM options:

>>> 11/15/2004 10:42:46 AM >>>

I am running tomcat as a service. How do I set options for the JVM to
In particular, I wish to monitor
garbage collection as I have run into a problem in my JNI/PowerBuilder
Native Interface code that may
be related to garbage collection.The problem is this..

When I run a standalone JNI app that accesses powerbuilder code, the
runs fine. When I run it in a webapp,
It runs ok, as long as I am calling the servlet that accesses my JNI
quickly. When I wait 20 seconds and hit submit, the
code hangs inside the PowerBuilder native code - BUT ONLY IF I WAIT A
I know that the JVM gc should only cleanup java objects, but I would
like to see what is going on.

how do I set -verbose:gc, and where can I see the output?
Is there any other way to monitor the garbage collector that would give

John McClain
Senior Software Engineer
TCS Healthcare
"Before you criticize someone, walk a mile in their shoes.
That way, you'll be a mile from them, and you'll have their shoes."

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message