Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError while compiling xsd

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am running a build.xml which actually compiles the .xsd files by using the <xmlbean> task. I am using xbean.jar to compile xsd files. While doing so, it is giving this error.



By using the above error, i could conclude that i need to increase the memory size. But i am not sure how to set the PermSize

Can anyone tell how this can be done ? Thanks
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I googled "Java set perm size" and found several answers... Or are you unsure how to apply this to Ant?
 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. I am not sure how to set this through Ant.

 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to modify the ant.bat script in the $ANT_HOME/bin directory.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic