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

Re: [Condor-users] Problems with Java



� wrote:
> Hi..
> 
> I have a special node for Java jobs.
> 
> I have in the local file:
> 
> JAVA = /usr/bin/java
> JAVA_MAXHEAP_ARGUMENT = -Xmx1024m
> 
> when I run condor_status java- does not show anything
> 
> Note:The node belongs properly to the Pool
> 
> What more do I have to configure it to work?
> 
> Grasias..

Common mistake. It even showed up in a default config file once. The
JAVA_MAXHEAP_ARGUMENT is just the -Xms part. Condor tacks on the 1024m bit.

Best,


matt

--

   tmp = param("JAVA_MAXHEAP_ARGUMENT");
   if(tmp) {
      arg_buf.sprintf("%s%dm",tmp,sysapi_phys_memory()/ sysapi_ncpus());
      args->AppendArg(arg_buf.Value());
      free(tmp);
   }