This problem was when trying to start via the bat file - no errors here.

When installing as a service - even with 1640m - the error thrown is:
[2008-01-11 10:41:48] [info] Running Service...
[2008-01-11 10:41:48] [info] Starting service...
[2008-01-11 10:41:48] [info] Error occurred during initialization of VM
[2008-01-11 10:41:48] [info] Could not reserve enough space for object
heap
[2008-01-11 10:41:48] [info] 
[2008-01-11 10:41:48] [409  javajni.c] [error] CreateJavaVM Failed
[2008-01-11 10:41:48] [930  prunsrv.c] [error] Failed initializing java
D:\servers\public\bin\bootstrap.jar
[2008-01-11 10:41:48] [1179 prunsrv.c] [error] ServiceStart returned 2
[2008-01-11 10:41:48] [info] Run service finished.
[2008-01-11 10:41:48] [info] Procrun finished.

Lowering the allocated memory to the jvm, for example to --JvmMx 1024
allows the service to run properly.

Any thoughts?

Cheers,

Chris

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: 11 January 2008 10:05
To: [email protected]
Subject: Re: [magnolia-user] tomcat heap allocation

Are you using the bat to start the tomcat or you are starting it as a
service?
Are there any errors in the log?


----------------------------------------------------------------------
Hi,

When trying to run magnolia 3.01EE on tomcat 5.5 on Windows Server 2003,
if I allocate more than -Xmx1640m in Catalina.bat, tomcat will not even
attempt to start up, stating that the CATALINA_HOME environmental
variable is not set up. I don't think this is the problem though, as all
memory allocation of 1640m and below result in correct startup, and
1641m and above results in no startup.

Any ideas? Are there some operating system settings that will allow me
to throw a lot more memory at tomcat?

Cheers,

Chris

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to