jenkinsci / jenkinsci/junit-plugin

[JENKINS-1769] Use StAX to parse JUnit results

Open
#799 8 comments 0 reactions 0 assignees View on GitHub
component:junit-plugin enhancement imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
87
Forks
351
Avg merge
1d 19h
Merged PRs (30d)
2

Description

When processing very large junit test results (100s MB) I get OutOfMemoryErrors

on the server, even with -Xmx1200MB. If I understand the code correctly, the

complete result is loaded into a single object on the slave, which is then

serialized and send to the server. Can this be optimized so that is not

necessary to have everything in memory simultaneously ?

---
Originally reported by huybrechts, imported from: Use StAX to parse JUnit results


  • status: Open
  • priority: Critical
  • component(s): junit-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 0
  • imported: 2025-11-26

Raw content of original issue

When processing very large junit test results (100s MB) I get OutOfMemoryErrors
on the server, even with -Xmx1200MB. If I understand the code correctly, the
complete result is loaded into a single object on the slave, which is then
serialized and send to the server. Can this be optimized so that is not
necessary to have everything in memory simultaneously ?

  • environment: Platform: All, OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.