ant - Build fail in java -


i try build java application in command prompt, fails as..

compile-core:     [javac] compiling 1085 source files c:\conet\app\build\core     [javac]     [javac]     [javac] system out of resources.     [javac] consult following stack trace details.     [javac] java.lang.outofmemoryerror: java heap space  build failed c:\conet\app\build.xml:324: compile failed; see compiler error output details.  total time: 1 minute 5 seconds c:\conet\app> 

any solution type of problem.

thanks

since you're using ant, should increase available heap size compilation. add build.xml compilation target:

memoryinitialsize="256m" memorymaximumsize="1024m" 

info taken here.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -