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&#39;MAX_VIRTUAL_MEMORY=(2*1024*1024*1024)&#39;</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&#39;VM_NAME=&quot;$(VM_NAME)&quot;&#39; -DX86 $(XDEFS) $(CROQUET)</div></div><div><br></div><div>But the resulting VM still wouldn&#39;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&#39;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">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</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 &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>

&gt; I think Igor fixed that for the Windows VM, but such changes were not<br>
&gt; integerated in Eliot VMs, but rather in the branch of Git.<br>
&gt; But since the Jenkins is not building Windows VM, I have no idea where you<br>
&gt; can get such a VM.<br>
&gt;<br>
</div>No, changes are there. But they are not &quot;fixing&quot; 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>
&gt; Cheers<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jan 25, 2012 at 11:12 PM, Hani Abdeen &lt;<a href="mailto:hani.abdeen@gmail.com">hani.abdeen@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 25 January 2012 23:05, Paul DeBruicker &lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
</div><div><div></div><div class="h5">&gt;&gt;&gt; Hani Abdeen wrote<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Hello,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; I&#39;m using cogwin/Croquet VM (last version<br>
&gt;&gt;&gt; &gt; <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>
&gt;&gt;&gt; &gt; and today I had this probelm: when the size of the pharo image become<br>
&gt;&gt;&gt; &gt; so<br>
&gt;&gt;&gt; &gt; large the VM crashes with reason &#39;out of memory&#39;.<br>
&gt;&gt;&gt; &gt; The same problem with previous versions of cogwin.<br>
&gt;&gt;&gt; &gt; Note that I use a PC with 8G of RAM, so it&#39;s really damage to have such<br>
&gt;&gt;&gt; &gt; a<br>
&gt;&gt;&gt; &gt; problem.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Any idea about another VM working well on Windows and does not have<br>
&gt;&gt;&gt; &gt; such<br>
&gt;&gt;&gt; &gt; an<br>
&gt;&gt;&gt; &gt; issues?<br>
&gt;&gt;&gt; &gt; Any urgent solution?<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Thanks,<br>
&gt;&gt;&gt; &gt; Hani<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; From this thread:<br>
&gt;&gt;&gt; <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>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It seems that on windows the size of the image by default is limited to<br>
&gt;&gt;&gt; 500MB in RAM.  I don&#39;t know if you can change it or not.  Linux/Mac is<br>
&gt;&gt;&gt; limited to 2GB.  Can you try your experiments on a Mac?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Unfortunately no, I&#39;ve not Mac, and the company for which I&#39;ll use Moose<br>
&gt;&gt; on their software, Tomorrow morning :(, do not use Mac.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; View this message in context:<br>
&gt;&gt;&gt; <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>

&gt;&gt;&gt; Sent from the Pharo Smalltalk mailing list archive at Nabble.com.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; Mariano<br>
&gt; <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
&gt;<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>