Menu

Large artifact is truncated at 2GB

Help
Tony DeBat
2012-04-05
2013-04-05
  • Tony DeBat

    Tony DeBat - 2012-04-05

    Hello,

    I've got a 6GB artifact.

    When I include it as a dependency in a pom.xml file and run 'mvn install' it downloads exactly 2GB. Maven then tells me that the checksum has failed.

    ...
    Downloading: http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar
    [WARNING] Checksum validation failed, expected 8a5fb3b00f2b31f4a74f33f44f1cbc8c44cc2506 but is 5fb087edb1f31b9e5ed9ea660d3b5250f1bfcc01 for http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar
    ...
    

    If I use wget or a web browser I can download the entire file. The following succeeds:

    wget http://localhost:8080/artifactory/ext-release-local/data-noarch-novoindex-hg19/nix/data-noarch-novoindex-hg19.nix/2.7/data-noarch-novoindex-hg19.nix-2.7-1.0.0.jar
    

    Why does the artifact get truncated at 2GB when using Maven to download it from Artifactory? How can I make it work?

    Thanks,
    Tony

    Artifactory Version: 2.5.1.1

    Tomcat Version: 6.0.35

    $ java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11D50b)
    Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

    $ mvn -version
    Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
    Maven home: /usr/share/maven
    Java version: 1.6.0_29, vendor: Apple Inc.
    Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    Default locale: en_US, platform encoding: MacRoman
    OS name: "mac os x", version: "10.7.3", arch: "x86_64", family: "mac"

     
  • bennid

    bennid - 2013-01-14

    I know this thread is 7 months old but we're hitting this as well.  Has anyone solved this issue yet?

     
  • Anonymous

    Anonymous - 2013-01-16
     

Log in to post a comment.