Monday 19 May 2014

Ant Build OutOfMemory issue

If 'javac' task is used with fork option then , javac will run in his own process and memory should be directly assigned to the javac using 'memoryinitialsize' and 'memorymaximumsize':
javac   srcdir="${src}"
            destdir="${classes}"
            source="1.6"
            debug="true"
            fork="true"
            deprecation="off"
            memoryinitialsize="512m"
            memorymaximumsize="1024m"

7 comments:

  1. Thank you and please provide more information Java Spring

    ReplyDelete
  2. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.

    DevOps Training in Bangalore

    DevOps Training in Pune

    DevOps Online Training

    ReplyDelete
  3. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.

    devops training in chennai | devops training in anna nagar | devops training in omr | devops training in porur | devops training in tambaram | devops training in velachery

    ReplyDelete
  4. Its wonderful blog really very nice site and blog facility.every title is very nice and very fatastic concept.Home school tutor Squirrel Hill North Thanks for sharing the information.

    ReplyDelete
  5. First class data, modify everybody mind basically reference designate assistance to it. I could be placed in a larger invincible state. XXClone 2022 x64 Download

    ReplyDelete
  6. More Birthday Sms. Happy birthday to the coolest little guy. Wishing you all the best for your future, brother.https://wishesquotz.com/birthday-wishes-for-brother/

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...