Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3609

Large test reports causes VM to run out of heap

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: Macintosh, OS: All

      With a Maven build (and surefire reports), lots of large xml reports (on the
      order of ~30MB total) causes the SurefireArchiver to run out of memory and hence
      fail the job.

          [JENKINS-3609] Large test reports causes VM to run out of heap

          calculu5 added a comment -

          Created an attachment (id=684)
          Stacktrace of hudson running out of memory

          calculu5 added a comment - Created an attachment (id=684) Stacktrace of hudson running out of memory

          This is caused by the remoting that too eagerly serializes the payload into
          byte[]. This should be deferred to and done inside writeObject/readObject,
          directly against the stream.

          Kohsuke Kawaguchi added a comment - This is caused by the remoting that too eagerly serializes the payload into byte[]. This should be deferred to and done inside writeObject/readObject, directly against the stream.

            Unassigned Unassigned
            calculu5 calculu5
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: