<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Glad you got it working, and thanks for reporting what fixed it for you.<div>I'm not sure why changing our "Min Memory" setting (which controls Xms--initial heap size) fixes it for you, maybe your 64-bit JVM needs more than 5m (although I've been fine with 5m on Mac with 64bit java 1.6).</div><div>Anyways, it strikes me our default Xms of 5m is way too small, since Kepler 2.3 at idle after startup seems to use about 300m. Supposably allocating more from the start can benefit performance since the jvm doesn't have to do it. I did a crude stopwatch comparison and didn't notice any startup time decrease using 300m. Regardless I've increased out default to 256m to avoid problems like you saw. This change will go out with Kepler 2.4.</div><div><br></div><div>Derik<br>
<br><br><div><div>On Sep 6, 2012, at 11:41 PM, Himanshu ............. <<a href="mailto:himanshu.king@gmail.com">himanshu.king@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Derik,<div><br></div><div>The problem is solved. Kepler is running on Cluster now (still not running on my Virtual Machine, guess something is wrong with VM itself). I edited the memory.xml file but instead decreasing the max memory, my problem was solved by increasing the min memory (I changed it from 5m to 20m). But still wondering what is wrong with the default memory settings.</div>
<div><br></div><div>Thanks for your reply</div><div><br></div><div>Himanshu<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 12:25 AM, Derik Barseghian <span dir="ltr"><<a href="mailto:barseghian@nceas.ucsb.edu" target="_blank">barseghian@nceas.ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Humanshu,<div>I think I was wrong, kepler 2.3.0 uses 512m by default, not 1000m. 2.4.0 will use 1000m.</div>
<div><br><div>How are you determining the change is not taking affect? I just tried and it worked for me.</div><div><br></div><div>This is what I did for my release version of kepler 2.3.0 on ubuntu:</div><div>vi /home/derik/KeplerData/kepler.modules/build-area/settings/memory.xml</div>
<div>#change max to something smaller:</div><div><entry key="max">256m</entry></div><div>#save, and start kepler</div><div>./kepler.sh</div><div><br></div><div># During startup I see the change in a stdout msg:</div>
<div><div>Kepler.run going to run.setMain(org.kepler.Kepler)</div><div>JVM Memory = 5m 256m</div></div><div><br></div><div>If you're using the 2.3 branch instead of 2.3.0 release, you may need to also change this copy of memory.xml:</div>
<div>vi kepler.modules23/build-area/settings/memory.xml</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Derik</div></font></span><div><div class="h5">
<br><div><div>On Sep 6, 2012, at 9:11 PM, "Himanshu ............." <<a href="mailto:himanshu.king@gmail.com" target="_blank">himanshu.king@gmail.com</a>> wrote:</div><br><blockquote type="cite">Hi Derik,<div>
<br></div><div>Thanks for your reply. Its a virtual machine on which I am trying to run Kepler. When I had first encountered this error,I concluded the same thing so I increased the RAM size but still I got the same error. Since Kepler is not getting started at all, so I can't change the JVM memory settings. And as per your second suggestion I tried editing the memory.xml file but changes are not getting affected.</div>
<div><br></div><div>Thanks</div><div>Himanshu<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 2:54 PM, Derik Barseghian <span dir="ltr"><<a href="mailto:barseghian@nceas.ucsb.edu" target="_blank">barseghian@nceas.ucsb.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>Kepler 2.3 uses 1gb of memory by default. Maybe the machine on which you're getting the error does not have this much RAM available?</div>
<div>You can adjust Kepler's memory use from within Kepler using the Tools=>JVM Memory Settings menu, or by editing the KeplerData/kepler.modules/build-area/settings/memory.xml file.</div><div>Decreasing the max memory setting to 500m may be fine if you're not running complicated workflows.</div>
<div><br></div><div>Derik</div><div><br><div><div><div><div>On Sep 6, 2012, at 4:50 AM, "Himanshu ............." <<a href="mailto:himanshu.king@gmail.com" target="_blank">himanshu.king@gmail.com</a>> wrote:</div>
<br></div><blockquote type="cite"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Dear All,</span><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">I am trying to run Kepler 2.3 on my cluster. Operating system is Red Hat and Java version is 1.6 (64 bit). I am getting following error.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<div>[null] Error occurred during initialization of VM</div><div>[null] Too small initial heap for new size specified</div></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">It looks like a JVM error to me but i am not sure how to change the minimum heap size. If it helps, I have installed Kepler 2.3 on my local machine which is running on fedora and 32 bit Java and it is working fine. I am wondering why the default memory size is not sufficient to start Kepler 2.3 on a cluster or problem is something else. Please give me suggestions to solve this problem.</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
Thanks</div></div>
_______________________________________________<br>Kepler-users mailing list<br><a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.org</a><br><a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></body></html>