Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant pack200 OutOfMemory error" Watch "ant pack200 OutOfMemory error" New topic

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 ?

Peter Johnson

Joined: May 14, 2008
Posts: 5852

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:
subject: ant pack200 OutOfMemory error
It's not a secret anymore!