Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant pack200 OutOfMemory error

 
Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic