URGENT- OutOfMemoryError while using ANT

parkarumesh

Usenet Archive
Joined
Feb 23, 2006
Messages
16
Reaction score
0
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 (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
Hi,

Are you using any IDE for building the Project, Could you please give the breif details with the editor, environment etc.,
 

PremKumar (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
Hi,

Are you using any IDE for building the Project, Could you please give the breif details with the editor, environment etc.,
 

PremKumar (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
Hi,

Are you using any IDE for building the Project, Could you please give the breif details with the editor, environment etc.,
 

PremKumar (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
Hi,

Are you using any IDE for building the Project, Could you please give the breif details with the editor, environment etc.,
 

PremKumar (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
Hi,

Are you using any IDE for building the Project, Could you please give the breif details with the editor, environment etc.,
 

parkarumesh

Usenet Archive
Joined
Feb 23, 2006
Messages
16
Reaction score
0
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 (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
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 (archive)

Usenet Archive
Joined
Apr 7, 2006
Messages
9
Reaction score
0
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

Usenet Archive
Joined
Dec 17, 2000
Messages
18,395
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,049
Messages
3,104,243
Members
248,133
Latest member
DujonT

Latest Threads

Top