<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 10:44 PM, Alain_Rastoul <span dir="ltr"><<a href="mailto:alr.dev@free.fr">alr.dev@free.fr</a>></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>"Mariano Martinez Peck" <<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>> 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"><<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>></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'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't think so,
but start cc'ing the VM mailing list. You'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>> Hi Tudor,<br>><br>> There is a constant in
sqWin32Alloc.h (platforms\win32\vm) :<br>> #define MAX_VIRTUAL_MEMORY
512*1024*1024<br>> you can change it to whatever you want and rebuild the
vm,<br>> for exzmple give all the available memory less 256 M
.<br>><br>> HTH<br>><br>> Regards<br>> Alain<br>><br>>
"Tudor Girba" <<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>> a
écrit<br>> dans le message de news:
03B9389F-C719-44D0-B106-2AC78B120F56@gmail.com...<br>>
Hi,<br>><br>> We have no specific startUp: methods in Moose. In any
case, the issue with<br>> opening the image does not seem to be related
to startUp:.<br>><br>> Is it really true that the Cog VM is limited to
512MB of memory?<br>><br>> Cheers,<br>>
Doru<br>><br>><br>> On 21 Apr 2011, at 14:27, Luc Fabresse
wrote:<br>><br>>> Hi Doru,<br>>><br>>> 2011/4/21 Tudor
Girba<br>>> <<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>><br>>>
Hi,<br>>><br>>><br>>><br>>> On Apr 21, 2011, at
14:06, Mariano Martinez Peck<br>>> <<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>>
wrote:<br>>><br>>>><br>>>><br>>>> On Thu,
Apr 21, 2011 at 1:58 PM, Tudor Girba<br>>>> <<a href="mailto:tudor.girba@gmail.com" target="_blank">tudor.girba@gmail.com</a>>
wrote:<br>>>>> Hi again,<br>>>>><br>>>>>
I did not say what the problem was :). The problem was that
when<br>>>>> opening the image on Windows, he got a Space is low
message and the<br>>>>> image was not usable (see
attachment).<br>>>><br>>>> That's weird. Does moose have
something on the startup list? something<br>>>> that can be
bothering there?<br>>><br>>> Not that I know of. Is there a way
to check this?<br>>><br>>> Classes should be registered using
Smalltlak addToStartUpList: aClass<br>>> Then aClass
class>>#startUp: is executed at startup.<br>>> So implementors
of #startUp: on Moose classes should give you the
answer.<br>>><br>>> #Luc<br>>><br>>><br>>>
Actually, using exactly the same process some days ago he produced
an<br>>> image of 190MB. This one works just fine on Windows. The only
difference<br>>> between the two is the size of the loaded
data.<br>>><br>>> It would be really bad news if the Windows vm
would be so severely limited<br>>> in terms of
memory.<br>>><br>>> Cheers,<br>>>
Doru<br>>><br>>><br>>>><br>>>> On Mac it
worked just fine.<br>>>>><br>>>>>
Cheers,<br>>>>>
Doru<br>>>>><br>>>>><br>>>><br>>>>><br>>>>><br>>>>><br>>>>>
On 21 Apr 2011, at 12:52, Tudor Girba
wrote:<br>>>>><br>>>>>>
Hi,<br>>>>>><br>>>>>> I received a question
from someone running a 200MB image on Windows<br>>>>>> using
Cog 2361.<br>>>>>><br>>>>>> If I open the
image on Mac, it works just fine. Unfortunately, I
do<br>>>>>> not have a Windows machine around, and I cannot
test but I believe it<br>>>>>> should be solvable by
increasing the allocated
memory.<br>>>>>><br>>>>>> On Mac, I would run
it with: ./Croquet -memory
1500m<br>>>>>><br>>>>>> Can anyone help me
with the right incantation for
Windows?<br>>>>>><br>>>>>>
Cheers,<br>>>>>>
Doru<br>>>>>><br>>>>>><br>>>>>>
--<br>>>>>> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>>>>>><br>>>>>>
"What we can governs what we
wish."<br>>>>>><br>>>>>><br>>>>>><br>>>>>>
<Space is low.png><br>>>>><br>>>>>
--<br>>>>> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>>>>><br>>>>>
"Yesterday is a fact.<br>>>>> Tomorrow is a
possibility.<br>>>>> Today is a
challenge."<br>>>>><br>>>>><br>>>>><br>>>><br>>>><br>>>><br>>>><br>>>>
--<br>>>> Mariano<br>>>> <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>>>><br>>><br>><br>>
--<br>> <a href="http://www.tudorgirba.com" target="_blank">www.tudorgirba.com</a><br>><br>> "Beauty is where we see
it."<br>><br>><br>><br>><br>><br>><br>><br>><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></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>