-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes,
On 3/31/2009 9:56 AM, Haase, Johannes | SCARUS wrote: > "-Xrunhprof:heap=sites,depth=10,file=C:\hprof.txt". [snip] > However no further information except the general infos were written. I > cannot force the tomcat to dump the trace file. Are you trying to get profiling data, or are you trying to get a thread dump? > I have read that you can force to write that information if you`d start > the tomcat via console > and afterwards kill the tomcat via CTRL+C. I think you're describing the process to get a thread dump (which is CTRL-\, /not/ CTRL-C, which will kill your process). Which JVM are you using? When I run "java -Xrunhprof:help" from my Sun 1.5.0 install (on Linux), it says I should be using -agentlib:hprof and that the "Xrunhprof interface" will be removed in future versions. Perhaps your version has Xrunhprof removed and using agentlib:hprof will work. Try playing with this on the command-line to see what is available at your JVM level. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknSL1kACgkQ9CaO5/Lv0PCZywCggr5nQCkJ9Qq4fxV8yd1IYpbn yBEAnRMYBNTzFPyYpnGIJWuLRMf3poVU =pSVX -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org