java.lang.OutOfMemoryError: Java heap space
      	at java.util.Arrays.copyOf(Arrays.java:3236)
      	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)
      	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
      	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)
      	at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:78)
      	at java.nio.file.Files.copy(Files.java:2909)
      	at java.nio.file.Files.copy(Files.java:3069)
      	at io.jenkins.plugins.artifact_manager_s3.JCloudsArtifactManager.uploadFile(JCloudsArtifactManager.java:357)
      	at io.jenkins.plugins.artifact_manager_s3.JCloudsArtifactManager.access$000(JCloudsArtifactManager.java:78)
      	at io.jenkins.plugins.artifact_manager_s3.JCloudsArtifactManager$UploadToBlobStorage.invoke(JCloudsArtifactManager.java:343)
      	at io.jenkins.plugins.artifact_manager_s3.JCloudsArtifactManager$UploadToBlobStorage.invoke(JCloudsArtifactManager.java:324)
      

          [JENKINS-50668] OutOfMemoryError stashing big files on S3

          Code changed in jenkins
          User: Carlos Sanchez
          Path:
          src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java
          http://jenkins-ci.org/commit/artifact-manager-s3-plugin/cfe56d37e89330567ab3fa08d3000d1179334fcb
          Log:
          JENKINS-50668 Prevent loading file in memory on upload

          Fixes java.lang.OutOfMemoryError: Java heap space

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Carlos Sanchez Path: src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java http://jenkins-ci.org/commit/artifact-manager-s3-plugin/cfe56d37e89330567ab3fa08d3000d1179334fcb Log: JENKINS-50668 Prevent loading file in memory on upload Fixes java.lang.OutOfMemoryError: Java heap space

          Code changed in jenkins
          User: Jesse Glick
          Path:
          src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java
          http://jenkins-ci.org/commit/artifact-manager-s3-plugin/4327ac845a635c230289823d5f23d241c4b47f46
          Log:
          Merge pull request #11 from jenkinsci/JENKINS-50668

          JENKINS-50668 Prevent loading file in memory on upload

          Compare: https://github.com/jenkinsci/artifact-manager-s3-plugin/compare/721f9916b5d4...4327ac845a63

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/io/jenkins/plugins/artifact_manager_s3/JCloudsArtifactManager.java http://jenkins-ci.org/commit/artifact-manager-s3-plugin/4327ac845a635c230289823d5f23d241c4b47f46 Log: Merge pull request #11 from jenkinsci/ JENKINS-50668 JENKINS-50668 Prevent loading file in memory on upload Compare: https://github.com/jenkinsci/artifact-manager-s3-plugin/compare/721f9916b5d4...4327ac845a63

            csanchez Carlos Sanchez
            csanchez Carlos Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: