This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java heap space error with jdk 160_11 but no errors in 160_25

 
Alfonsus Hartanto
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i tried to build my project to be uploaded to the server. currently my server running the 160_11 version. I seems couldnt build it if i use that version.With the newer version the build has no problem.

Im using eclipse to build

here is the error





any help is appreciated thanks..
 
Geert Pante
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so apparently you invoke some BEA ant script from eclipse and you get an OutOfMemoryError.

You should find the launch configuration of the ant build and give it some more memory (e.g. -Xmx512m).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic