Unable to start Confluence Windows service after allocating JVM memory

Still need help?

The Atlassian Community is here for you.

Ask the community

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:How to fix out of memory errors by increasing available memory

 

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

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