Thank you for pointing this out. Chiming
----- Original Message ----- From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 2:26 PM Subject: Re: OT -mx64m option > Chiming, > > Just a quick question. Is JVM (1.3.1) going to allocate as much as > > memory for Tomcat (4.1.24) if there is not a "-mx" option provided? > > JVMs on various platforms have different defaults. I seem to rcall that > the old Linux defaults for Sun's JVM was a 16MB heap, but that has been > changed to 64MB in more recent versions. > > If you do not specify -mx, then you will get whatever the defaults are. > You can use Runtime.maxMemory() to find out what maximum heap size that > Java will use. Note that it's the Java heap size; the JVM takes some > memory of its own to run, so the in-memory footprint of the JVM might be > larger than what you specify for -mx. > > -chris > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
