Well, the define in sqWin32Alloc.h reads<div><br></div><div><div>#ifndef MAX_VIRTUAL_MEMORY</div><div>#define MAX_VIRTUAL_MEMORY 512*1024*1024</div><div>#endif</div><div><br></div><div>(albeit guarded by #ifndef NO_VIRTUAL_MEMORY)</div>
<div><br></div><div>so I tried to redefine it in the makefile:</div><div><br></div><div><div>VM_DEF=-D'MAX_VIRTUAL_MEMORY=(2*1024*1024*1024)'</div></div><div><br></div><div>...</div><div><div>DEFS:= $(COGDEFS) $(WINVER) $(VM_DEF) -DWIN32 -DWIN32_FILE_SUPPORT -DNO_ISNAN \</div>
<div> -DNO_SERVICE -DNO_STD_FILE_SUPPORT \</div><div> $(NDEBUG) -DLSB_FIRST -D'VM_NAME="$(VM_NAME)"' -DX86 $(XDEFS) $(CROQUET)</div></div><div><br></div><div>But the resulting VM still wouldn't allocate more than 512M, so it is more complex than I hoped :)</div>
<div><br></div><div>Andreas, if it is a simple job, do you know what's required to experiment with raising the limit on WIndows?</div><div><br></div><br><div class="gmail_quote">On Thu, Jan 26, 2012 at 2:43 AM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 25 January 2012 23:18, Mariano Martinez Peck <<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>> wrote:<br>
> I think Igor fixed that for the Windows VM, but such changes were not<br>
> integerated in Eliot VMs, but rather in the branch of Git.<br>
> But since the Jenkins is not building Windows VM, I have no idea where you<br>
> can get such a VM.<br>
><br>
</div>No, changes are there. But they are not "fixing" the hard limit which<br>
is still 512M.<br>
They only fixing a strange issue with growing image close to that<br>
limit (so 400M (and even less size) images was crashing before even<br>
reaching a limit).<br>
This is because of miscalculation between requested space and<br>
available space, after memory growth.<br>
<div class="im"><br>
> Cheers<br>
><br>
><br>
> On Wed, Jan 25, 2012 at 11:12 PM, Hani Abdeen <<a href="mailto:hani.abdeen@gmail.com">hani.abdeen@gmail.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On 25 January 2012 23:05, Paul DeBruicker <<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>> wrote:<br>
>>><br>
>>><br>
</div><div><div></div><div class="h5">>>> Hani Abdeen wrote<br>
>>> ><br>
>>> > Hello,<br>
>>> ><br>
>>> > I'm using cogwin/Croquet VM (last version<br>
>>> > <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2522/" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r2522/</a>) on windows7,<br>
>>> > and today I had this probelm: when the size of the pharo image become<br>
>>> > so<br>
>>> > large the VM crashes with reason 'out of memory'.<br>
>>> > The same problem with previous versions of cogwin.<br>
>>> > Note that I use a PC with 8G of RAM, so it's really damage to have such<br>
>>> > a<br>
>>> > problem.<br>
>>> ><br>
>>> > Any idea about another VM working well on Windows and does not have<br>
>>> > such<br>
>>> > an<br>
>>> > issues?<br>
>>> > Any urgent solution?<br>
>>> ><br>
>>> > Thanks,<br>
>>> > Hani<br>
>>> ><br>
>>><br>
>>> From this thread:<br>
>>> <a href="http://forum.world.st/experience-with-large-images-td4101765.html" target="_blank">http://forum.world.st/experience-with-large-images-td4101765.html</a><br>
>>><br>
>>> It seems that on windows the size of the image by default is limited to<br>
>>> 500MB in RAM. I don't know if you can change it or not. Linux/Mac is<br>
>>> limited to 2GB. Can you try your experiments on a Mac?<br>
>><br>
>><br>
>> Unfortunately no, I've not Mac, and the company for which I'll use Moose<br>
>> on their software, Tomorrow morning :(, do not use Mac.<br>
>><br>
>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> View this message in context:<br>
>>> <a href="http://forum.world.st/cogwin-Croquet-Win7-Moose-very-large-models-crash-out-of-Memory-tp4328688p4328761.html" target="_blank">http://forum.world.st/cogwin-Croquet-Win7-Moose-very-large-models-crash-out-of-Memory-tp4328688p4328761.html</a><br>
>>> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.<br>
>>><br>
>><br>
><br>
><br>
><br>
</div></div>> --<br>
> Mariano<br>
> <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko.<br>
<br>
</font></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>
</div>