tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Goddard Jiri <>
Subject Re: Error during initialization of VM
Date Fri, 24 Jul 2009 12:52:11 GMT
The Tomcat is currently up and running - all I've done is just set the
I already sent all the log information I was able to collect on the debug
level, see my first post.
Unfortunately, the JVM is an old one - JRE 1.4.2 (with all the extensions
needed to run Tomcat 5.5.17). It works just fine, I tested it.

@Andre: Yes, you are correct (and it's not nitpicking). Plus the Windows
service calls the Tomcat executable which invokes the JVM via JNI (if I'm
not mistaken).
It may be the case you are describing, but shouldn't it tell something like:
"Not enough memory" or "Cannot allocate Java Heapspace" or something like

On Fri, Jul 24, 2009 at 2:31 PM, André Warnier <> wrote:

> Goddard Jiri wrote:
>> Here you are:
>> 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:
> For additional commands, e-mail:

icq: 218 659 431

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