Scratch that.

I just tried it on my Eclipse 3.1.2...but the Ant should be the same
across all Eclipse 3.0, 3.1 distos.

When you right-click on your build.xml file
- Select Run As -> Ant Build...  This brings up the Ant dialog.
- Click on the JRE Tab.
- Put -Xmx384M on the VM arguments: textbox.

Adym

-----Original Message-----
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:34 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Check.

In that dialog, you probably don't need the -vmargs portion.

Hth,

Adym


-----Original Message-----
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:34 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Adym,

I don't see anything in the ANT preferences relating to this.  I am not
that familiar with ANT and the arguments.  If I right-click on build.xml
and go to External Tools, etc..  Where do I add the arguments?  I added
them to the arguments block and got the error "Unknown argument: -vmargs
-Xmx512M"

Thanks for the help!

Matt Hoffman
100 CTC Dr.
Johnstown, PA  15904
(814) 269-2528
[EMAIL PROTECTED]

 

-----Original Message-----
From: Lincoln, Adym [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:23 PM
To: JMeter Users List
Subject: RE: Ant Memory in Eclipse

Matthew,

For some 3rd party Java products (like Ant and Eclipse) I usually put
the following at the end of the command line... -vmargs -Xmx384M

This should bump up the memory usage for a given java program...

Since you're running Ant thru Eclipse, did you search around in the
Eclipse Windows -> Preferences -> Ant stuff.  Depending on what version
of Eclipse, the preferences shift around some...but you should be able
to control Ant somewhere in those preference dialogs...

Hth,

Adym

-----Original Message-----
From: Hoffman, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:18 PM
To: JMeter Users List
Subject: Ant Memory in Eclipse

Can someone tell me how to up the memory of the ANT task in eclipse?  I
am seeing OutOfMemory errors in my Jmeter log when I run the ANT task in
eclipse.  If I just run this through the Jmeter GUI, I don't see the
errors.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to