Exception in thread main Java lang OutOfMemoryError GC overhead limit exceeded error in jenkins

0 votes

I am getting the below error, when I tried to build one job in jenkins.

Exception in thread "main" Java.lang.OutOfMemoryError: GC overhead limit exceeded.

How can I resolve this error?

Thank You

Apr 3, 2020 in Jenkins by akhtar
• 38,260 points

recategorized Apr 3, 2020 by akhtar 4,869 views

1 answer to this question.

0 votes

Hi@akhtar,

First, check the space in the Server where jenkins is hosted. In jenkins normally it can hold 20 builds. More than that, jenkins would throw an error. Follow the below given steps to avoid this error.

1.Clear the old builds which are deployed way back in months.

2. Increase the build counter in jenkins.

Thank You

answered Apr 3, 2020 by MD
• 95,460 points

Related Questions In Jenkins

0 votes
1 answer

unable to compile java code in Jenkins

If the code is compiling and running ...READ MORE

answered Apr 25, 2018 in Jenkins by DareDev
• 6,890 points
2,301 views
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
58,581 views
0 votes
3 answers

Error: ‘Jenkins: Cannot define variable in pipeline stage’

https://stackoverflow.com/questions/39832862/jenkins-cannot-define-var ...READ MORE

answered Mar 13, 2019 in Jenkins by Charles Wu
5,142 views
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

answered May 16, 2019 in Jenkins by Samir
21,898 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
+2 votes
1 answer
0 votes
1 answer

ERROR: Connection is not established! java.lang.IllegalStateException: Connection is not established!

Hi@akhtar, This error may occur because of network ...READ MORE

answered May 29, 2020 in Jenkins by MD
• 95,460 points
4,774 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP