<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
HI Nathalie,<br>
<br>
I'll need more information.<br>
1. What actions do you take to cause the run? <br>
2. Does the error occur when you start up Kepler or when something
else happens?<br>
3. Are you running from the Kepler development source distribution
or from Kepler-2.2?<br>
<br>
When I run the Kepler development source distribution, I get:<br>
[run] JVM Memory = 5m 768m<br>
Your run has:<br>
JVM Memory = 512m 512m<br>
<br>
For my set up, kepler/build-area/settings/memory.xml looks like:<br>
<br>
<blockquote type="cite"><?xml version="1.0" encoding="UTF-8"?><br>
<!DOCTYPE properties SYSTEM
<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/dtd/properties.dtd">"http://java.sun.com/dtd/properties.dtd"</a>><br>
<properties><br>
<comment>Modified Memory Properties</comment><br>
<entry key="max">768m</entry><br>
<entry key="min">5m</entry><br>
</properties></blockquote>
Does your memory.xml file set the min to 512m?<br>
<br>
It turns out that the min value is not actually the minimum value<br>
./build-area/src/org/kepler/build/project/MemoryProperties.java
reads memory.xml<br>
<br>
./build-area/src/org/kepler/build/Run.java uses the value:<br>
jvmMinMemory = MemoryProperties.getMinMemory();<br>
...<br>
java.createJvmarg().setLine("-Xms" + jvmMinMemory);<br>
<br>
I set the min key to 512m and Kepler started up for me and I was
able to run a model.<br>
<br>
I'm not familiar with Scientific Linux, but Wikipedia says it is
based on RedHat Enterprise Linux,<br>
which is what I'm running. Perhaps your machine does not have very
much memory?<br>
<br>
Under RedHat, the "free" command returns the amount of memory
available:<br>
<br>
bash-3.2$ free<br>
total used free shared buffers
cached<br>
Mem: 16015360 13872904 2142456 0 1239668
8394912<br>
-/+ buffers/cache: 4238324 11777036<br>
Swap: 2031608 280 2031328<br>
<br>
Also, from the command line, try:<br>
java -Xms512m -Xmx512m -version<br>
<br>
I get:<br>
bash-3.2$ java -Xms512m -Xmx512m -version<br>
java version "1.6.0_21"<br>
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)<br>
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)<br>
<br>
Note that requesting a very large amount of memory will fail:<br>
bash-3.2$ java -Xms512000m -Xmx512000m -version<br>
Error occurred during initialization of VM<br>
Could not reserve enough space for object heap<br>
<br>
_Christopher<br>
<br>
On 10/25/11 2:05 AM, Nathalie RAVENEL wrote:
<blockquote
cite="mid:CAOUzETqUVDCG1p5BwMqL07Cqj731F1ayDehQfcXwXqfOUn=xog@mail.gmail.com"
type="cite">Distribution scientific linux 57.<br>
<br>
kepler.sh<br>
basedir:/root/kepler<br>
JVM Memory = 512m 512m<br>
LD_LIBRARY_PATH:
/usr/java/jdk1.6.0_26/jre/lib/i386/client:/usr/java/jdk1.6.0_26/jre/lib/i386:/usr/java/jdk1.6.0_26/jre/../lib/i386:/opt/switm/libAMD64.lib:/usr/java/latest/jre/lib/amd64/native_threads:/usr/java/latest/jre/lib/amd64/xawt:/usr/java/latest/jre/lib/amd64:/usr/java/latest/jre/lib/amd64/server:/root/m2009b/bin/glnxa64/root/kepler/r/lib:/root/kepler/common/lib<br>
[null] Checking for patches...<br>
[null] Building Kars...<br>
[null] Exception in thread "main" java.lang.OutOfMemoryError:
unable to create new native thread<br>
[null] at java.lang.Thread.start0(Native Method)<br>
[null] at java.lang.Thread.start(Thread.java:640)<br>
[null] at
java.lang.UNIXProcess$1.run(UNIXProcess.java:141)<br>
[null] at
java.security.AccessController.doPrivileged(Native Method)<br>
[null] at
java.lang.UNIXProcess.<init>(UNIXProcess.java:103)<br>
[null] at
java.lang.ProcessImpl.start(ProcessImpl.java:65)<br>
[null] at
java.lang.ProcessBuilder.start(ProcessBuilder.java:453)<br>
[null] at java.lang.Runtime.exec(Runtime.java:593)<br>
[null] at java.lang.Runtime.exec(Runtime.java:431)<br>
[null] at java.lang.Runtime.exec(Runtime.java:328)<br>
[null] at
org.kepler.loader.PermissionManager.setAllExecutable(PermissionManager.java:62)<br>
[null] at
org.kepler.loader.PermissionManager.makeNativeLibsExecutable(PermissionManager.java:52)<br>
[null] at org.kepler.Kepler.main(Kepler.java:209)<br>
Exception in thread "main" Java returned: 1<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)<br>
at org.kepler.build.runner.Kepler.main(Kepler.java:90)<br>
Caused by: Java returned: 1<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)<br>
at org.kepler.build.runner.Kepler.run(Kepler.java:159)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
... 1 more<br>
Caused by: Java returned: 1<br>
at
org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)<br>
at org.kepler.build.Run.runSuite(Run.java:312)<br>
at org.kepler.build.Run.run(Run.java:214)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
... 3 more<br>
--- Nested Exception ---<br>
Java returned: 1<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:106)<br>
at org.kepler.build.runner.Kepler.run(Kepler.java:159)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
at org.kepler.build.runner.Kepler.main(Kepler.java:90)<br>
Caused by: Java returned: 1<br>
at
org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)<br>
at org.kepler.build.Run.runSuite(Run.java:312)<br>
at org.kepler.build.Run.run(Run.java:214)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
... 3 more<br>
--- Nested Exception ---<br>
Java returned: 1<br>
at
org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)<br>
at org.kepler.build.Run.runSuite(Run.java:312)<br>
at org.kepler.build.Run.run(Run.java:214)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
at org.kepler.build.runner.Kepler.run(Kepler.java:159)<br>
at
org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br>
at org.kepler.build.runner.Kepler.main(Kepler.java:90)<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>