<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 10:44 PM, Alain_Rastoul <span dir="ltr">&lt;<a href="mailto:alr.dev@free.fr">alr.dev@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">






<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Apparently, the vm allocates MAX_VIRTUAL_MEMORY and 
reduces by steps of 128M until it </font></div>
<div><font face="Arial" size="2">succeeds.</font></div>
<div><font face="Arial" size="2">so I suppose it could be possible to allocate 2Gb 
and see how it runs on a 1Gb system and if this is not too much stress 
for</font></div>
<div><font face="Arial" size="2">the system (thinking of the pagefile) 
?</font></div>
<div><font face="Arial" size="2">Tudor is your vm a cog or non cog vm ?</font></div></div></blockquote><div><br>Cog<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2"></font> </div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
  <div>&quot;Mariano Martinez Peck&quot; &lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; a écrit dans 
  le message de news: <a href="mailto:BANLkTi=Tved13_KL7quOzemOXPnCcfWw+g@mail.gmail.com" target="_blank">BANLkTi=Tved13_KL7quOzemOXPnCcfWw+g@mail.gmail.com</a>...</div>
  <p>
  </p><hr>
  <p></p><div><div></div><div class="h5"><br><br>
  <div class="gmail_quote">On Thu, Apr 21, 2011 at 10:21 PM, Tudor Girba <span dir="ltr">&lt;<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>&gt;</span> 
  wrote:<br>
  <blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">Hi,<br><br>Should I to understand that the only way to 
    enable more memory is to recompile the VM? Does that mean that there is no 
    way to pass this information as a parameter like we can on 
  Mac?<br><br></blockquote>
  <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br>As far as I know 
  you can pass a parameter, but even so, it won&#39;t be able to allocate more than 
  512MB.<br>I can compile the VM for you with this change in 5 minutes. But I am 
  not sure that such simple code would make it work. I think such limit is there 
  because of something. Otherwise, it sounds stupid imposing a limit just 
  because.<br><br></div>
  <blockquote style="border-left:rgb(204,204,204) 1px solid;margin:0pt 0pt 0pt 0.8ex;padding-left:1ex" class="gmail_quote">The problem is that I cannot recompile the VM because I 
    have no access to a Windows machine. Is there one available that provides 
    more memory?<br><br></blockquote>
  <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br>I don&#39;t think so, 
  but start cc&#39;ing the VM mailing list. You&#39;d probably receive more 
  help.<br><br>Cheers<br><br>Mariano<br> </div>
  <blockquote style="border-left:rgb(204,204,204) 1px solid;margin:0pt 0pt 0pt 0.8ex;padding-left:1ex" class="gmail_quote">Cheers,<br>Doru<br>
    <div>
    <div></div>
    <div><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><font face="Arial" size="2"></font><br><br>On 21 Apr 2011, at 22:09, Alain_Rastoul 
    wrote:<br><br>&gt; Hi Tudor,<br>&gt;<br>&gt; There is a constant in 
    sqWin32Alloc.h (platforms\win32\vm) :<br>&gt; #define MAX_VIRTUAL_MEMORY 
    512*1024*1024<br>&gt; you can change it to whatever you want and rebuild the 
    vm,<br>&gt; for exzmple give all the available memory less 256 M 
    .<br>&gt;<br>&gt; HTH<br>&gt;<br>&gt; Regards<br>&gt; Alain<br>&gt;<br>&gt; 
    &quot;Tudor Girba&quot; &lt;<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>&gt; a 
    écrit<br>&gt; dans le message de news: 
    03B9389F-C719-44D0-B106-2AC78B120F56@gmail.com...<br>&gt; 
    Hi,<br>&gt;<br>&gt; We have no specific startUp: methods in Moose. In any 
    case, the issue with<br>&gt; opening the image does not seem to be related 
    to startUp:.<br>&gt;<br>&gt; Is it really true that the Cog VM is limited to 
    512MB of memory?<br>&gt;<br>&gt; Cheers,<br>&gt; 
    Doru<br>&gt;<br>&gt;<br>&gt; On 21 Apr 2011, at 14:27, Luc Fabresse 
    wrote:<br>&gt;<br>&gt;&gt; Hi Doru,<br>&gt;&gt;<br>&gt;&gt; 2011/4/21 Tudor 
    Girba<br>&gt;&gt; &lt;<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>&gt;<br>&gt;&gt; 
    Hi,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Apr 21, 2011, at 
    14:06, Mariano Martinez Peck<br>&gt;&gt; &lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; 
    wrote:<br>&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Thu, 
    Apr 21, 2011 at 1:58 PM, Tudor Girba<br>&gt;&gt;&gt; &lt;<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>&gt; 
    wrote:<br>&gt;&gt;&gt;&gt; Hi again,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 
    I did not say what the problem was :). The problem was that 
    when<br>&gt;&gt;&gt;&gt; opening the image on Windows, he got a Space is low 
    message and the<br>&gt;&gt;&gt;&gt; image was not usable (see 
    attachment).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; That&#39;s weird. Does moose have 
    something on the startup list?   something<br>&gt;&gt;&gt; that can be 
    bothering there?<br>&gt;&gt;<br>&gt;&gt; Not that I know of. Is there a way 
    to check this?<br>&gt;&gt;<br>&gt;&gt; Classes should be registered using 
    Smalltlak addToStartUpList: aClass<br>&gt;&gt; Then aClass 
    class&gt;&gt;#startUp: is executed at startup.<br>&gt;&gt; So implementors 
    of #startUp: on Moose classes should give you the 
    answer.<br>&gt;&gt;<br>&gt;&gt; #Luc<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; 
    Actually, using exactly the same process some days ago he produced 
    an<br>&gt;&gt; image of 190MB. This one works just fine on Windows. The only 
    difference<br>&gt;&gt; between the two is the size of the loaded 
    data.<br>&gt;&gt;<br>&gt;&gt; It would be really bad news if the Windows vm 
    would be so severely limited<br>&gt;&gt; in terms of 
    memory.<br>&gt;&gt;<br>&gt;&gt; Cheers,<br>&gt;&gt; 
    Doru<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On Mac it 
    worked just fine.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 
    Cheers,<br>&gt;&gt;&gt;&gt; 
    Doru<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 
    On 21 Apr 2011, at 12:52, Tudor Girba 
    wrote:<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; 
    Hi,<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; I received a question 
    from someone running a 200MB image on Windows<br>&gt;&gt;&gt;&gt;&gt; using 
    Cog 2361.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; If I open the 
    image on Mac, it works just fine. Unfortunately, I 
    do<br>&gt;&gt;&gt;&gt;&gt; not have a Windows machine around, and I cannot 
    test but I believe it<br>&gt;&gt;&gt;&gt;&gt; should be solvable by 
    increasing the allocated 
    memory.<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; On Mac, I would run 
    it with: ./Croquet -memory 
    1500m<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; Can anyone help me 
    with the right incantation for 
    Windows?<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; 
    Cheers,<br>&gt;&gt;&gt;&gt;&gt; 
    Doru<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; 
    --<br>&gt;&gt;&gt;&gt;&gt; <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; 
    &quot;What we can governs what we 
    wish.&quot;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;&gt; 
    &lt;Space is low.png&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 
    --<br>&gt;&gt;&gt;&gt; <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 
    &quot;Yesterday is a fact.<br>&gt;&gt;&gt;&gt; Tomorrow is a 
    possibility.<br>&gt;&gt;&gt;&gt; Today is a 
    challenge.&quot;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; 
    --<br>&gt;&gt;&gt; Mariano<br>&gt;&gt;&gt; <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt; 
    --<br>&gt; <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>&gt;<br>&gt; &quot;Beauty is where we see 
    it.&quot;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br><br></div></div><font color="#888888">--<br><a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br><br>&quot;If you interrupt the barber 
    while he is cutting your hair,<br>you will end up with a messy 
    haircut.&quot;<br><br><br></font></blockquote></div><br><br clear="all"><br>-- 
  <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br></div></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>