[JIRA] (JENKINS-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56374  
 
 
  JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
Change By: 
 Shevek .  
 
 
Summary: 
 JUnitResultArchiver  crazy resource inefficient  parsing XML in sort()->compare() , killing Jenkins  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . commented on  JENKINS-56374  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
 jmap -histo:live output:   num #instances #bytes class name -- 1: 2678703 2691823496 [C 2: 2678264 64278336 java.lang.String 3: 811096 58398912 hudson.tasks.junit.CaseResult 4: 319187 10213984 java.util.HashMap$Node 5: 192771 8994440 [Ljava.lang.String; 6: 42153 7186960 [Ljava.lang.Object; 7: 187092 4490208 com.thoughtworks.xstream.io.path.Path 8: 12333 2778840 [Ljava.util.HashMap$Node; 9: 18705 2075528 java.lang.Class 10: 61023 1952736 java.util.concurrent.ConcurrentHashMap$Node   Where did we get 811,096 CaseResults in the heap from? They're all live objects, too. This looks like a serious memory leak.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56374  
 
 
  JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
Change By: 
 Shevek .  
 
 
Labels: 
 memory-leak  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . commented on  JENKINS-56374  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
 After the GC-storm, we get this: num #instances #bytes class name -- 1: 208769 27421360 [C 2: 208315 4999560 java.lang.String 3: 81032 2593024 java.util.HashMap$Node 4: 37398 2486496 [Ljava.lang.Object; 5: 9331 2316560 [B 6: 18857 2092720 java.lang.Class 7: 62775 2008800 java.util.concurrent.ConcurrentHashMap$Node 8: 20596 1812448 java.lang.reflect.Method 9: 12253 1242400 [Ljava.util.HashMap$Node; 10: 11491 947256 [Ljava.util.WeakHashMap$Entry;   which is a lot saner, and shows that all the data held in memory was related to the memory inefficiency/leak in the reporter, and is not part of normal operation.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56374  
 
 
  JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
Change By: 
 Shevek .  
 
 
Environment: 
 LinuxJava 8Jenkins 2.150.1JUnit plugin 1.27xUnit plugin 2.3.2  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-56374  
 
 
  JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
Change By: 
 Shevek .  
 
 
Attachment: 
 jenkins-memory.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-56374) JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins

2019-03-03 Thread jenk...@anarres.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Shevek . commented on  JENKINS-56374  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: JUnitResultArchiver parsing XML in sort()->compare(), killing Jenkins   
 

  
 
 
 
 

 
 Attached visualvm dump of retained-object sizes showing the suites in memory.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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.