cancel
Showing results for 
Search instead for 
Did you mean: 

Problems while starting JVM and Apache Tomcat Alfresco

oblamine
Champ in-the-making
Champ in-the-making
Hello,
I have some problems while starting Apache Tomcat Alfresco service.
I am using windows XP with 4Go Ram
Apache tomcat 7, JAVA 7, and here i will paste log:

2013-07-16 11:35:50 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
Could not reserve enough space for object heap

[2013-07-16 11:35:50] [info]  Commons Daemon procrun (1.0.10.0 32-bit) started
[2013-07-16 11:35:50] [info]  Running 'alfrescoTomcat' Service…
[2013-07-16 11:35:50] [info]  Starting service…
[2013-07-16 11:35:50] [error] CreateJavaVM Failed
[2013-07-16 11:35:50] [error] Failed to start Java
[2013-07-16 11:35:50] [error] ServiceStart returned 4
[2013-07-16 11:35:50] [info]  Run service finished.
[2013-07-16 11:35:50] [info]  Commons Daemon procrun finished

I tryed to solve this problem by myself, i found -in some forums- that i have to increase the Xmx and Xms but this didn't resolve the problem.
Help please Smiley Happy
5 REPLIES 5

jpfi
Champ in-the-making
Champ in-the-making
Hi,
you'l have to decrease your JVM Heap Settings. <em>Could not reserve enough space for object heap</em> means that your java process could not be started because there is not enough RAM available. What are your current JVM args?
Cheers, Jan

oblamine
Champ in-the-making
Champ in-the-making
-Xms128M;-Xmx768M

nima
Champ in-the-making
Champ in-the-making
Hi everyone,

I am new in alfresco topics maybe my question seems stupid but plz help me regarding this issue cause it became a disaster for me!
I have installed alfresco 5 (before I had 4.2.b with the same problem) I just installed the java and alfresco I mean not share point and others I just did not tick them during installation cause I will not deal with them that much, the problem is after successful installation when I am trying to start the apache tomcat alfresco service it will not start and gives me this error "service can not start on local computer service-specific error code 4  ", I have put the logs and I will be appreciated if some body check it out and let me know what to do with this issue!!

Thanks,
Nima

mandya
Champ in-the-making
Champ in-the-making
@oblamine:
I have the same problem. Did you find a solution?
How can i configure the Xmx and Xms parameters for my sercice?

laureh
Champ in-the-making
Champ in-the-making
Same here. I just installed Alfresco 5.0.a on Windows XP, 2Go RAM, and I have the exact same error in the logs.
Isn't the installer enough to use Alfresco? Or is there some configuration to add?
Thanks in advance for your answers 🙂