ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Issue with publishing large files
Date Tue, 28 Sep 2010 07:31:27 GMT
Could you try again with commons-httpclient-3.x in your classpath in combination with the latest
Ivy snapshot build? You can download one here: https://hudson.apache.org/hudson/job/Ivy/

JIRA issue IVY-1197 is still open because no-one confirmed that this issue has been solved
in trunk. So if you could confirm that the above solution works for you, we can close this
issue and integrate this into Ivy version 2.2.1 (it's too late to include it into the Ivy
2.2.0 release)

Maarten

--- On Mon, 9/27/10, Andrew Simine <Andrew.Simine@acronis.com> wrote:

> From: Andrew Simine <Andrew.Simine@acronis.com>
> Subject: Issue with publishing large files
> To: "ivy-user@ant.apache.org" <ivy-user@ant.apache.org>
> Date: Monday, September 27, 2010, 4:39 PM
> Hello,
>  I faced with an issue publishing large files.
> I tried to publish file near 1G and got this exception:
> 
> Exception in thread "main" java.lang.OutOfMemoryError: Java
> heap space
>         at
> java.util.Arrays.copyOf(Arrays.java:2786)
>         at
> java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
>         at
> sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
>         at
> org.apache.ivy.util.FileUtil.copy(FileUtil.java:176)
>         at
> org.apache.ivy.util.url.BasicURLHandler.upload(BasicURLHandler.java:211)
>         at
> org.apache.ivy.util.url.URLHandlerDispatcher.upload(URLHandlerDispatcher.java:82)
>         at
> org.apache.ivy.util.FileUtil.copy(FileUtil.java:148)
>         at
> org.apache.ivy.plugins.repository.url.URLRepository.put(URLRepository.java:84)
>         at
> org.apache.ivy.plugins.repository.AbstractRepository.put(AbstractRepository.java:130)
>         at
> org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:227)
>         at
> org.apache.ivy.plugins.resolver.RepositoryResolver.publish(RepositoryResolver.java:209)
>         at
> org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:281)
>         at
> org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:260)
>         at
> org.apache.ivy.core.publish.PublishEngine.publish(PublishEngine.java:172)
>         at
> org.apache.ivy.Ivy.publish(Ivy.java:600)
>         at
> org.apache.ivy.Main.run(Main.java:304)
>         at
> org.apache.ivy.Main.main(Main.java:179)
> 
> I found the  issue in Jira https://issues.apache.org/jira/browse/IVY-1197, but
> issue is opened yet.
> Could you advise what should I do?
> 
> PS: I use Ivy standalone version  2.2.0-rc1.
> 
> Regards,
> Andrew Simine
> 


      

Mime
View raw message