G1 Eden Space and G1 Survivor Space

Can anyone please help me understand the impact of G1 Eden Space and G1 Survivor Space using 100% of memory ? How can I modify the memory usage in setenv.sh to bring down the usage of these two ? 

1 answer

The impact of a full heap utilization are related to worse performance of your Java Virtual Machine and also low application performance. You have to consider that an Heap out of Memory Exception can also occurs.

In order to manage your heap available space you need to specify these command line options whenever you run java:

  • -Xms:<size>, which sets the initial and minimum heap size
  • -Xmx:<size>, which sets the maximum heap size

For example:


java -Xms:1g -Xmx:1g


In your setenv.sh you can search a variable like this and place your parameters

JAVA_OPTS="-Xms2048m -Xmx3072m -XX:MaxPermSize=3072m


You will find further details on Memory management in JAVA, and other command lines option at this link:



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,345 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot