aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant pack200 OutOfMemory error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant pack200 OutOfMemory error" Watch "ant pack200 OutOfMemory error" New topic
Author

ant pack200 OutOfMemory error

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

i use eclipse 3.3 ant build tool to build a very large java project
inside build.xml i use ant task pack200 to pack large number of jar files.

when i run this on windows it worked well.
when i run same project on my Linux os i get below ant build error.
can someone please help on this ?
thanks.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

The Java heap ran out of room. Do you run Ant within the same process as Eclipse or do you have it run in a separate process (with its own JVM)? If the former, increase the heap size for Eclipse. If the latter increase the heap size for Ant.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ant pack200 OutOfMemory error
 
Similar Threads
Eclipse and com.javaranch.common
eclipse ant jarsigner error
[java] Java Result: 1 error
Eclips and Ant
javadoc problem, using ant build file