Hi All, I have a ~650mb lib file that I’m trying to upload to Artifactory via Gradle. I’m running out of Java heap space which I can’t get past, it gets stuck at 512 MB.
I have set my GRADLE_OPTS to: -Xms1536m -Xmx1536m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:NewSize=768m -XX:MaxNewSize=768m -XX:+UseParNewGC -XX:+UseTLAB -XX:+UseConcMarkSweepGC Talked to the Artifactory guys and they mentioned that it's because Ivy is using the simple http client which creates a full buffer in memory. A work around suggested is to configure the Ivy URLResolver to use the apache commons http client with preemptive authentication. Has anything like this been done before? Help..? Thanks, Vinod -- View this message in context: http://gradle.1045684.n5.nabble.com/URLResolver-upload-stuck-at-512mb-tp4629510p4629510.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
