Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

I’m trying to upload the package(.msi) using Jenkins and I’m getting below error can you please help me on this?



  • Hi,

    I’m trying to upload the package(.msi) using Jenkins and I’m getting below error can you please help me on this?

    [EnvInject] - Loading node environment variables.
    Building on master in workspace D:\TextileCare\Branch\Releases\ConduitLocal\Release1.2
    [ProGet] Packaging Artifacts
    [ProGet] Sending POST as user 'admin' to http://evinhydsd0019:9088/upack/envision/upload
    FATAL: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Unknown Source)
    at java.io.ByteArrayOutputStream.grow(Unknown Source)
    at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
    at java.io.ByteArrayOutputStream.write(Unknown Source)
    at sun.net.www.http.PosterOutputStream.write(Unknown Source)
    at com.inedo.http.RawDataWriter.write(RawDataWriter.java:108)
    at com.inedo.http.RawDataWriter.write(RawDataWriter.java:79)
    at com.inedo.http.HttpEasy.getConnectionMethod(HttpEasy.java:631)
    at com.inedo.http.HttpEasy.post(HttpEasy.java:555)
    at com.inedo.proget.api.ProGetApi.uploadPackage(ProGetApi.java:171)
    at com.inedo.proget.jenkins.UploadPackageBuilder$PutPackage.call(UploadPackageBuilder.java:237)
    at com.inedo.proget.jenkins.UploadPackageBuilder$PutPackage.call(UploadPackageBuilder.java:191)
    at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
    at com.inedo.proget.jenkins.UploadPackageBuilder.perform(UploadPackageBuilder.java:180)
    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
    at hudson.model.Build$BuildExecution.build(Build.java:205)
    at hudson.model.Build$BuildExecution.doRun(Build.java:162)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    at hudson.model.Run.execute(Run.java:1728)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:404)
    Archiving artifacts
    Started calculate disk usage of build
    Finished Calculation of disk usage of build in 0 seconds
    Started calculate disk usage of workspace
    Finished Calculation of disk usage of workspace in 8 second
    Finished: FAILURE

    Product: ProGet
    Version: 4.7.6



  • This appears to be an internal Java error, indicating that the package cannot be bufered due to low process memory. So, I would increase the memory of your Java/Jenkin instance. You can use the -Xmx1024m option to give 1GB of memory to your application. This will increase the amount of data you can store in memory.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation