ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Simine <Andrew.Sim...@acronis.com>
Subject Issue with publishing large files
Date Mon, 27 Sep 2010 14:39:26 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message