Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

URGENT- OutOfMemoryError while using ANT

Thread view: 
parkarumesh@gmail.com - 07 Apr 2006 11:23 GMT
Hi,
    I get an OutOfMemoryError while using ANT to build my application.
Is there any way out to increase the memory for ANT task. how to
increase the heap specially for ANT
PremKumar - 07 Apr 2006 12:21 GMT
Hi,

    Are you using any IDE for building the Project, Could you please
give the breif details with the editor, environment etc.,
PremKumar - 07 Apr 2006 12:23 GMT
Hi,

    Are you using any IDE for building the Project, Could you please
give the breif details with the editor, environment etc.,
PremKumar - 07 Apr 2006 12:24 GMT
Hi,

    Are you using any IDE for building the Project, Could you please
give the breif details with the editor, environment etc.,
PremKumar - 07 Apr 2006 12:25 GMT
Hi,

    Are you using any IDE for building the Project, Could you please
give the breif details with the editor, environment etc.,
PremKumar - 07 Apr 2006 12:28 GMT
Hi,

    Are you using any IDE for building the Project, Could you please
give the breif details with the editor, environment etc.,
parkarumesh@gmail.com - 07 Apr 2006 12:42 GMT
no i am not using any IDE or editor, i use a batch file which i run for
starting ANT to build my application. I am using WIN2K, 512MB RAM,
Intel4 processor nothing grt or exceptional configuration
PremKumar - 07 Apr 2006 13:38 GMT
Hi,

When u run ant.bat, it tries to get JVM arguments from antrc_pre.bat(in
ur home directory) ; So add this
set ANT_OPTS=-Xmx1024m  in antrc_pre.bat

Try :-)
PremKumar - 07 Apr 2006 13:39 GMT
Hi,

When u run ant.bat, it tries to get JVM arguments from antrc_pre.bat(in
ur home directory) ; So add this
set ANT_OPTS=-Xmx1024m  in antrc_pre.bat

Try :-)
Roedy Green - 07 Apr 2006 19:13 GMT
>     Are you using any IDE for building the Project, Could you please
>give the breif details with the editor, environment etc.,

your message appeared 5 times.  I am guessing you imagine your message
did not take if it does not immediately show up. Give it 15 minutes.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.