Unable to start Confluence Windows service after allocating JVM memory

Problem

In the "Event Properties" window, it shows:

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

The jakarta-service.log contains:

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

Cause

The JVM memory (-Xmx or -xx:MaxPermsize) is set too high or to an invalid value.
Here are some discussions:

Resolution

 Reducing the maximum heap space or Perm Gen size fixed the problem. This article describes the procedure for changing the memory parameters:Fix java.lang.OutOfMemoryError in Confluence

 

 

 

 

 

 

 

 

 

 

 

  

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.