AnsweredAssumed Answered

Installation CreateJavaVM FAILED

Question asked by vmolieres on Jul 23, 2014
Latest reply on Sep 1, 2014 by vmolieres

I am using windows seven with 4Go Ram
Apache tomcat 7, JDK 7u55 (already install on my computer), and here i will paste log:

In file "alfrescotomcat-stderr.2014-07-23.log" :2014-07-23 17:06:25 Commons Daemon procrun stderr initialized

In file "commons-daemon.2014-07-23.log" :

[2014-07-23 17:06:25] [info]  [ 2092] Running 'alfrescoTomcat' Service…
[2014-07-23 17:06:25] [info]  [ 4800] Starting service…
[2014-07-23 17:06:26] [error] [ 2392] CreateJavaVM Failed
[2014-07-23 17:06:26] [error] [ 4800] Failed to start Java
[2014-07-23 17:06:26] [error] [ 4800] ServiceStart returned 4

In file "alfrescotomcat-stdout.2014-07-23.log" :
2014-07-23 17:06:25 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
Could not reserve enough space for object heap

So i try this:

->Create environnement variable JAVA_OPS ="-Xms128m -Xmx512m"
->On cmd "C:\Alfresco\tomcat\java -version -Xms128m"
-> Instal alfresco with java module
-> Put this JAVA_OPS="-XX:MaxHeapSize=256m" on ../tomcat/bin/ and ../tomcat/bin/catalina.bat ( at the beginig of file)
->Put thie JAVA_OPS="-Xms128m -Xmx512m" on ../tomcat/bin/ and ../tomcat/bin/catalina.bat ( at the beginig of file)

I try to resolved myself but… So please HELP ME ( i try to use alfresco 5.0.a)