GC overhead limit exceeded error

Harsha Hegde May 20, 2014

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 )

Cause:
java.lang.OutOfMemoryError: GC overhead limit exceeded

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

3 answers

1 accepted

3 votes
Answer accepted
Harsha Hegde June 5, 2014

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

Harikanth May 17, 2019

Yes, it's worked. 

1 vote
BenjiI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2014

Hi harsha,

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

http://www.jvmhost.com/articles/what-is-java-lang-outofmemoryerror-gc-overhead-limit-exceeded

BenjiI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2014

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
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 20, 2014

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.

Regards,

Fabio

BenjiI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2014

Hi Fabio,

Looks like a handy plugin. Thanks for the tip!

Harsha Hegde May 26, 2014

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