Issue Type: Bug Bug
Assignee: Unassigned
Attachments: usedMemory.png
Components: build-pipeline
Created: 26/Feb/13 12:31 PM
Description:

(This issue was likely also reported on Google Code by someone else but never answered.)

We're suffering from a severe memory leak that seems to be coming from the Build Pipeline plugin, growing with each HTTP request for the build pipeline view.

Analysis

We took a heap dump after just one work day of run-time and ran jhat on it. The graph shows memory usage growing almost linearly over the course of a day and the heap analysis shows an unusually high number of instances of the class au.com.centrumsystems.hudson.plugin.buildpipeline.BuildForm.

Instance Counts for All Classes (excluding platform)

806069 instances of class org.kohsuke.stapler.bind.BoundObjectTable$1 
800273 instances of class au.com.centrumsystems.hudson.plugin.buildpipeline.BuildForm 
800273 instances of class au.com.centrumsystems.hudson.plugin.buildpipeline.PipelineBuild 
51265 instances of class hudson.util.CopyOnWriteList 
31526 instances of class hudson.util.DescribableList 
30784 instances of class [Lorg.apache.commons.jexl.parser.Node; 
24643 instances of class jenkins.model.lazy.BuildReference 
24228 instances of class net.bull.javamelody.CounterRequest 
22565 instances of class com.thoughtworks.xstream.core.util.ConcurrentWeakHashMap$HashEntry 
22565 instances of class com.thoughtworks.xstream.core.util.ConcurrentWeakHashMap$WeakKeyReference 
18441 instances of class hudson.model.View$PropertyList 

Workaround

We are restarting Jenkins every night, which causes other problems. In issue 143 on Google Code, the reporter also mentioned that they downgraded the plugin to version "1.2.3".

Environment: Jenkins 1.501, build-pipeline 1.3.3
Project: Jenkins
Priority: Major Major
Reporter: Uwe Stuehler
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
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/groups/opt_out.
 
 

Reply via email to