Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invalid maximum heap size: how to enable synchrony?

I have installed Confluence on Kubernetes with a helm chart in which synchrony fails to work. This is an excerpt from atlassian-synchrony.log:

2020-08-31 16:15:28,254 DEBUG [487:StdErrHandler [/opt/java/openjdk/bin/java]] Invalid maximum heap size: -Xmx0m

2020-08-31 16:15:28,268 DEBUG [487:StdErrHandler [/opt/java/openjdk/bin/java]] Error: Could not create the Java Virtual Machine.

2020-08-31 16:15:28,268 DEBUG [487:StdErrHandler [/opt/java/openjdk/bin/java]] Error: A fatal exception has occurred. Program will exit.

2020-08-31 16:15:28,249 DEBUG [487:StdErrHandler [/opt/java/openjdk/bin/java]] NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/ --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED

How can I fix it?

1 answer

0 votes

This suggests that an admin has made a mistake in the config for Synchrony, probably while trying to increase the memory for it. 

There's several ways to configure Synchrony and no easy way to tell which one you are using, so please have a look through to see if you can work out which one it is and hence where the settings are for the memory size.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

109 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you