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

Re: [Condor-users] JAVA_MAXHEAP_ARGUMENT parameter causing error (Windows)




Ziliang, If you run the java command from the prompt it gives the error that you are saying in both platforms (Linux and Windows).
But Condor constructs the command and on linux it works (without 100m appended to the JAVA_MAXHEAP_ARGUMENT = -Xmx ) and on Windows not (you need to append the 100m to  the JAVA_MAXHEAP_ARGUMENT = -Xmx ( ie, -Xmx100m) ).

Matt, in his answer, got what I am trying to explain.

Any case, follow the java versions:

Linux:

# condor_config_val JAVA_MAXHEAP_ARGUMENT
-Xmx
#

# java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 2.3)
IBM J9 VM (build 2.3, J2RE 1.4.2 IBM J9 2.3 Linux amd64-64 j9vmxa64142ifx-20090909 (JIT enabled)
J9VM - 20090908_41946_LHdSMr
JIT  - 20090210_1447ifx1_r8
GC   - 200902_24)
#

Windows:

C:\TEMP> condor_config_val JAVA_MAXHEAP_ARGUMENT
-Xmx100m

C:\TEMP>

C:\TEMP> c:\WINDOWS\SysWOW64\java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

C:\TEMP>

Klaus

Clique aqui para conhecer a Célula 309
Para abrir um item em nossa Clínica da Qualidade
Clique aqui


Ziliang Guo <ziliang@xxxxxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx

01/04/2011 12:17

Please respond to
Condor-Users Mail List <condor-users@xxxxxxxxxxx>

To
Condor-Users Mail List <condor-users@xxxxxxxxxxx>
cc
Subject
Re: [Condor-users] JAVA_MAXHEAP_ARGUMENT parameter causing error        (Windows)





Based on my (and another developer's) reading of the code, that should not work.  What version of the JVM/whose JVM are you using?  Cause on both the Windows and Linux machines I've looked on, passing -Xmx without a number returns an error from the JVM.



--
Condor Project Windows Developer
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



This message is intended solely for the use of its addressee and may contain privileged or confidential information. All information contained herein shall be treated as confidential and shall not be disclosed to any third party without Embraer’s prior written approval. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode conter informações privilegiadas e confidenciais. Todas as informações aqui contidas devem ser tratadas como confidenciais e não devem ser divulgadas a terceiros sem o prévio consentimento por escrito da Embraer. Se você não é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste caso, por favor, notifique o remetente da mesma e destrua imediatamente a mensagem.

This message is intended solely for the use of its addressee and may contain privileged or confidential information. All information contained herein shall be treated as confidential and shall not be disclosed to any third party without Embraer’s prior written approval. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode conter informações privilegiadas e confidenciais. Todas as informações aqui contidas devem ser tratadas como confidenciais e não devem ser divulgadas a terceiros sem o prévio consentimento por escrito da Embraer. Se você não é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste caso, por favor, notifique o remetente da mesma e destrua imediatamente a mensagem.