[JIRA] (JENKINS-42026) Memory leak while running concurrent declarative pipelines

2017-02-14 Thread kshu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Shultz updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42026  
 
 
  Memory leak while running concurrent declarative pipelines   
 

  
 
 
 
 

 
Change By: 
 Karl Shultz  
 
 
Attachment: 
 jenkins.log  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42026) Memory leak while running concurrent declarative pipelines

2017-02-14 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-42026  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Memory leak while running concurrent declarative pipelines   
 

  
 
 
 
 

 
 That NPE from SandboxContinuable I have never seen before. I do not think it should lead to a leak, even in this one build—we still cleanUpHeap (at least as of workflow-cps PR 101, which I think you are running)—but still of interest. Need a heap dump to diagnose (send privately).  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42026) Memory leak while running concurrent declarative pipelines

2017-02-14 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick assigned an issue to Jesse Glick  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42026  
 
 
  Memory leak while running concurrent declarative pipelines   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Assignee: 
 Jesse Glick  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-42026) Memory leak while running concurrent declarative pipelines

2017-02-14 Thread kshu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Karl Shultz created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-42026  
 
 
  Memory leak while running concurrent declarative pipelines   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-cps-plugin  
 
 
Created: 
 2017/Feb/14 3:58 PM  
 
 
Environment: 
 openjdk version "1.8.0_45-internal"  Ubuntu 15.04  workflow-cps 2.27-SNAPSHOT (private-1155b889-jenkins)  pipeline-model-definition 1.0.1  core 2.32.2  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Karl Shultz  
 

  
 
 
 
 

 
 Running >100 Pipeline builds can cause OutOfMemoryErrors, leading to Jenkins eventually becoming unresponsive. Sample log snippet below. After I get this issue opened, I'll recreate to produce cleaner logs. 

 

WARNING: RunListener failed
java.lang.OutOfMemoryError: GC overhead limit exceeded

Feb 14, 2017 2:47:04 PM org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService reportProblem
WARNING: Unexpected exception in CPS VM thread: CpsFlowExecution[Owner[PipelinePipelines/pipeline-testcases---parallel-abuse180/198:PipelinePipelines/pipeline-testcases---parallel-abuse180 #198]]
java.lang.OutOfMemoryError: GC overhead limit exceeded

Feb 14, 2017 2:47:03 PM hudson.model.AsyncPeriodicWork doRun
INFO: com.cloudbees.jenkins.plugin.metrics.views.Alerter thread is still running. Execution aborted.
Feb 14, 2017 2:47:10 PM hudson.model.AsyncPeriodicWork doRun
INFO: com.cloudbees.jenkins.plugin.metrics.views.Alerter thread is still running. Execution aborted.
Feb 14, 2017 2:47:20 PM hudson.model.AsyncPeriodicWork doRun
INFO: com.cloudbees.jenkins.plugin.metrics.views.Alerter thread is still running. Execution aborted.
Feb 14, 2017 2:47:27 PM