tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Error during initialization of VM
Date Fri, 24 Jul 2009 12:31:20 GMT
Goddard Jiri wrote:
> Here you are:
> http://dredwerkz.ic.cz/tomcat_init_vm.png
> 
> I set -Xms256m -Xmx1024m. It should be more than enough for that app. The
> tomcat didn't want to start without the Xms (or Xms0m).
> 
Not to nitpick, but just to be precise :
the Xms and Xmx parameters are parameters for the JVM, not for Tomcat.
It is the JVM that does not want to start, not Tomcat.
When the error occurs, the JVM probably has not even started to load the 
Tomcat code.
As far as I know, these JVM parameters are never required.  But if you 
do not specify Xms, Java tries to start with a /default/ starting heap size.
This default heap size (of which I don't know where it is set), may be 
set too large for the type of machine architecture you have, which is 
why omitting the Xms parameter will not allow the JVM to start.

There was just another thread on this list giving information on this 
topic. You may want to check it, it contains some technically precise 
information on the subject.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message