Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Jenkins: java.lang.OutOfMemoryError: Metaspace #206

Closed
burrsutter opened this issue Jun 7, 2017 · 7 comments
Closed

Jenkins: java.lang.OutOfMemoryError: Metaspace #206

burrsutter opened this issue Jun 7, 2017 · 7 comments

Comments

@burrsutter
Copy link

https://gist.github.com/burrsutter/8ec379579b07115df5e017a2a0cd45cf
workaround, restart the Jenkins pod
oc scale dc/jenkins --replicas=0 -n burrsutter-jenkins
oc scale dc/jenkins --replicas=1 -n burrsutter-jenkins

@joshuawilson
Copy link
Member

This issue was moved to fabric8-ui/fabric8-ui#1467

@rawlingsj
Copy link

We were seeings this pre summit after 5 or 6 pipeline runs that included a call out to bayesian. We tried a few things like groovy and java tuning. Perhaps we should look to bump up that Metaspace again fabric8-jenkins/jenkins-openshift-base@2328e5e

@rawlingsj
Copy link

This issue was moved to fabric8-ui/fabric8-ui#1467

@joshuawilson we probably don't need to move this issue to fabric8-ui, it relates to a possible few components of openshift.io but not the UI.

@alexeykazakov
Copy link
Member

workaround, restart the Jenkins pod
oc scale dc/jenkins --replicas=0 -n burrsutter-jenkins
oc scale dc/jenkins --replicas=1 -n burrsutter-jenkins

I can confirm that the workaround helps. @sbose78 could you please add it to your FAQ doc if it's not there yet.

@joshuawilson
Copy link
Member

@rawlingsj you may continue to comment on it here, I only copy it over so that it gets more visibility. It should only be closed when the issue is resolved. Addtionally, I can copy it to any other repo that you think needs visibility into it. :)

@burrsutter
Copy link
Author

I have now found that oc scale dc/jenkins --replicas=0 -n burrsutter-jenkins
no longer works, you need to "oc delete pod jenkins-1231 --now -n burrsutter-jenkins" to give it more gas to run with.

l0rd pushed a commit to l0rd/openshift.io that referenced this issue Jun 19, 2017
@joshuawilson joshuawilson modified the milestone: Workshop Blockers Jul 31, 2017
@burrsutter burrsutter removed this from the Workshop IO Early Access milestone Jul 31, 2017
@joshuawilson joshuawilson added this to the CD backlog milestone Nov 20, 2017
@rawlingsj
Copy link

This has been resolved fabric8-jenkins/jenkins-openshift-base@2328e5e

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants