hello,

ok i have a program that eats eventually a lot of memory... 
now when exectuing on my laptop, reasonable examples do not need any memory
extension of the JVM.... now i would want to run those benchs on our server,
and there i only get lots of 

#Simulator doTran(StringTokenizer st)
Exception in thread "main" java.lang.OutOfMemoryError
        at jSim.Simulator.doTran(Simulator.java:310)

now i tryed to put this in the command line:
java -green -Djava.compiler=NONE -mx=256m 
-Xbootclasspath:"/usr/local/JacORB/classes/jacorb.jar:/usr/local/java/jre/lib/rt.jar:${CLASSPATH}"
 "$@"

which gives back :
Bad max heap size: -Xmx=256m
 (but it was written this way or nearly in the java-announcment....)
now from the error message i made a java-X and tryed:
java -green -Djava.compiler=NONE 
-Xbootclasspath:"/usr/local/JacORB/classes/jacorb.jar:/usr/local/java/jre/lib/rt.jar:${CLASSPATH}"
 -Xmx256M   "$@"

and 
java -green -Djava.compiler=NONE 
-Xbootclasspath:"/usr/local/JacORB/classes/jacorb.jar:/usr/local/java/jre/lib/rt.jar:${CLASSPATH}"
 -Xmx256m   "$@"

and there i get the damned 
Exception in thread "main" java.lang.OutOfMemoryError
        at jSim.Simulator.doTran(Simulator.java:310)
errors......

what am i doing wrong?????

-- 
ciao bboett
==============================================================
[EMAIL PROTECTED]
http://inforezo.u-strasbg.fr/~bboett http://erm1.u-strasbg.fr/~bboett
===============================================================
the total amount of intelligence on earth is constant.
human population is growing....


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to