<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">tudor.girba@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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><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 class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
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><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 class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Cheers,<br>
Doru<br>
<div><div></div><div class="h5"><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">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">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">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">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>