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

2 votes
Accepted answer

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.

0 votes

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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,296 views 5 10
Read article

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