[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] JVM arguments

The "arguments" attribute would be passed to the program, though, and not to the JVM. In order to set JVM arguments you specify

	java_vm_args = ....

in your submit file, for example

	java_vm_args = -Xmx256m

(for reference also see: http://www.cs.wisc.edu/condor/manual/v7.4/2_8Java_Applications.html )


On 09/02/2010 01:54 PM, David Kotz wrote:

If you submit your Java job to the Java universe, you'd have something
like this:

universe	= java	
executable	= javaprog.class (or it could be .jar)	
arguments	= arabica robusta

with "arabica robusta" being passed as the argument.

- dave

On Thu, 2010-09-02 at 11:47 -0700, Don McGregor wrote:
I've looked through the documents, and I don't see a way to pass arguments to the JVM in the
submit file.


java -xm256m  some.package.foo

where the -xm256m is used to allocate memory for the JVM, not as an argument to the java application.

What's the best way to do this?

Cathrin Weiss
Condor Project