> From: Mats Eklund [mailto:mats.ekl...@yahoo.com] > Subject: RE: Memory settings > > Thanks, I'm trying the JConsole, but I'm not sure I'm connecting to the > relevant process?
What flavor of Windows are you using? If it's Vista, 2008, or later, you won't be able to access the service unless you run JConsole under the same account that the service is running under (and sometimes not even then - thank you, Microsoft) - even if you're an administrator. But you don't need to access the Tomcat service to determine the default; just start a sleep-forever Java program using the same JVM and mode (client or server) that Tomcat is using, and attach JConsole to that. The default heap size will show up in the VM Summary window. Running JConsole on itself might not give you the right information, since you don't know which JVM or mode it's using, or if it fiddles with the heap size before starting its JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org