<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19046">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Apparently, the vm allocates MAX_VIRTUAL_MEMORY and 
reduces by steps of 128M until it </FONT></DIV>
<DIV><FONT size=2 face=Arial>succeeds.</FONT></DIV>
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial>the system (thinking of the pagefile) 
?</FONT></DIV>
<DIV><FONT size=2 face=Arial>Tudor is your vm a cog or non cog vm ?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV>"Mariano Martinez Peck" &lt;<A 
  href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</A>&gt; a écrit dans 
  le message de news: <A 
  href="mailto:BANLkTi=Tved13_KL7quOzemOXPnCcfWw+g@mail.gmail.com">BANLkTi=Tved13_KL7quOzemOXPnCcfWw+g@mail.gmail.com</A>...</DIV>
  <P>
  <HR>
  </P><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">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 size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><FONT 
  size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR>As far as I know 
  you can pass a parameter, but even so, it won'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 size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><FONT 
  size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR>I don't think so, 
  but start cc'ing the VM mailing list. You'd probably receive more 
  help.<BR><BR>Cheers<BR><BR>Mariano<BR>&nbsp;</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 class=h5><FONT size=2 face=Arial></FONT><FONT size=2 
    face=Arial></FONT><FONT size=2 face=Arial></FONT><FONT size=2 
    face=Arial></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; 
    "Tudor Girba" &lt;<A 
    href="mailto:tudor.girba@gmail.com">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">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">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">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's weird. Does moose have 
    something on the startup list? &nbsp; 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; 
    "What we can governs what we 
    wish."<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; 
    "Yesterday is a fact.<BR>&gt;&gt;&gt;&gt; Tomorrow is a 
    possibility.<BR>&gt;&gt;&gt;&gt; Today is a 
    challenge."<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; "Beauty is where we see 
    it."<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>"If you interrupt the barber 
    while he is cutting your hair,<BR>you will end up with a messy 
    haircut."<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></BLOCKQUOTE></BODY></HTML>