<div dir="ltr">Hi Tim,<div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 14, 2016 at 11:44 AM, tim Rowledge <span dir="ltr">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><br>
<br>
&gt; On 14-08-2016, at 4:03 AM, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hi Tim,<br>
&gt;<br>
&gt;&gt; On Aug 11, 2016, at 11:14 AM, tim Rowledge &lt;<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>&gt; wrote:<br>
&gt; [snip]<br>
&gt;<br>
&gt;&gt; The image is frikkin’ huge. How on earth do we have 22Mb of ByteArray/BitMap/ByteString around? And it looks like we are keeping a very large amount of MC stuff; 13018 instances of MCVersionInfo/MCVersionName/<wbr>DateAndTime/Date/Time/UUID. Is that smart? Simply flushing the cached ancestry from the MC browser gets rid of 60% of them and appears to save 3Mb. Except the damn saved image afterwards is exactly the same size! Sigh.<br></span></blockquote><div><br></div><div>Build a VMMaker image with image/buildspurtrunkvmmaker.sh and you can now use Spur32BitPreen to rewrite the image to be more compact.  We can use this as part of the release process until Clément and I have fixed Spur compaction.  e.g.</div><div><br></div><div><div><div><span class="" style="white-space:pre">        </span>Spur32BitPreen new preenImage: &#39;../oscogvm/image/trunk50&#39;</div><div><span class="" style="white-space:pre">        </span>Looking for module  ... loaded...computing accessor depths...done</div><div><span class="" style="white-space:pre">        </span>Looking for module  ... loaded...computing accessor depths...done::::.............................................done.</div><div><span class="" style="white-space:pre">        </span>old heap size: 41,897,472<span class="" style="white-space:pre">        </span>initial new heap size: 26,818,472</div><div><span class="" style="white-space:pre">        </span>change: -35.99%</div><div><span class="" style="white-space:pre">        </span>final new heap size: 26,818,472<span class="" style="white-space:pre">        </span>change: -35.99%</div></div><div><br></div><div><span style="white-space:pre">        </span>Done!</div></div><div> </div><div>HTH</div></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>