CSP-16852 - Could not start Confluence as service after Allocating higher JVM Memory

Product: Confluence

Environment

Operating System  
Affect Version/s  
JVM  
Database  
Application Server  

Error Message

[410  javajni.c] [error] CreateJavaVM Failed
[953  prunsrv.c] [error] Failed initializing java C:\<the_confluence_installed_directory>\bin\bootstrap.jar
[1202 prunsrv.c] [error] ServiceStart returned 2

Symptom

In the "Event Properties" window, it shows:

The Apache Tomcat service terminated with service-specific error 0(0x0)

Diagnostics/Test

Root Cause

There are some discussion available regarding this. It is due to the JVM memory (-Xmx or -xx:MaxPermsize) being allocated with too high value.
References: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6474166 http://publib.boulder.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=/com.ibm.tivoli.itbsm.doc/tbsmadm411133.htm

Solution

Reducing the maximum heap space or Perm Gen size fixed the problem.

Labels

confluence confluence Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.