GC overhead limit exceeded error

Iam currently using jira 5.1.2. Iam encountered with the below error when trying to restore the backup XML.

Oops - an error has occurred

System Error

A system error has occurred.

Please try submitting this problem via the Support Request Page
Otherwise, please create a support issue on our support system at http://support.atlassian.comwith the following information:
1.a description of your problem
2.cut & paste the error and system information found below
3.attach the application server log file ( D:\jira\512 Instance 2\log\atlassian-jira.log )

java.lang.OutOfMemoryError: GC overhead limit exceeded

Stack Trace: [hide]
java.lang.OutOfMemoryError: GC overhead limit exceeded

3 answers

1 accepted

The problem is resolved after increasing the memory in registry and setenv.bat in /bin folder

Hi harsha,

This article provides a good discussion of what is going on and how you can fix it:


The best place to 'play' with your JVM parameters is the setenv.sh file, located in the bin directory of your tomcat/JIRA.

Hello Harsha,

Benji's suggestion is absotely right. Another suggestion is to install JAVA Melody Plugin (free plugin) that will allow you to monitor your JIRA memory so that you could perfome some tuning on that.



Hi Fabio,

Looks like a handy plugin. Thanks for the tip!

I have changed the parameters in bin/setenv.bat file. But no luck...

We have lot of issues in the Jira instance. May be around 25,000. Is that causing the issue? If so, can i take the database dump and apply ? Is there any other better way?

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,104 views 13 19
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