• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • fitnesse-plugin
    • None

      Fitnesse plugin is storing large documents in memory, along with the rest of the build data. This really needs to be stored in a file and streamed/processed on the fly when needed to avoid unnecessary memory consumption and OOME.

          [JENKINS-15863] OOME using fitness plugin

          See FitNesse plugin – results explode build.xml, also. It may not cause OOME, but causes severe performance penalty, even on quite capable servers.

          Stanimir Stamenkov added a comment - See FitNesse plugin – results explode build.xml , also. It may not cause OOME, but causes severe performance penalty, even on quite capable servers.

          Code changed in jenkins
          User: antoine-aumjaud
          Path:
          src/main/java/hudson/plugins/fitnesse/CompoundFitnesseResults.java
          src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java
          src/main/java/hudson/plugins/fitnesse/NativePageCounts.java
          src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java
          src/test/java/hudson/plugins/fitnesse/FitnesseResultsRecorderTest.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java
          src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java
          http://jenkins-ci.org/commit/fitnesse-plugin/7ea548eb733eea54fe20820ed3da33749e6c031e
          Log:
          JENKINS-15863JENKINS-13936 Write HTML content in file when XML is
          parsed.
          HTML contents of the result was saved in memory before to be written in
          files. To avoid OOM, I write the file when the XML si parsed.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: antoine-aumjaud Path: src/main/java/hudson/plugins/fitnesse/CompoundFitnesseResults.java src/main/java/hudson/plugins/fitnesse/FitnesseResultsRecorder.java src/main/java/hudson/plugins/fitnesse/NativePageCounts.java src/main/java/hudson/plugins/fitnesse/NativePageCountsParser.java src/test/java/hudson/plugins/fitnesse/FitnesseResultsRecorderTest.java src/test/java/hudson/plugins/fitnesse/NativePageCountsParserTest.java src/test/java/hudson/plugins/fitnesse/NativePageCountsTest.java http://jenkins-ci.org/commit/fitnesse-plugin/7ea548eb733eea54fe20820ed3da33749e6c031e Log: JENKINS-15863 JENKINS-13936 Write HTML content in file when XML is parsed. HTML contents of the result was saved in memory before to be written in files. To avoid OOM, I write the file when the XML si parsed.

          fixed in version 1.10

          Antoine Aumjaud added a comment - fixed in version 1.10

            antoine_aumjaud Antoine Aumjaud
            ndeloof Nicolas De Loof
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: