<div><div dir="auto">Oh yes I noticed that. I guess the 32MB headroom is  not enough with a high res display …</div><div dir="auto"><br></div><div dir="auto"><div><div><a href="https://github.com/codefrau/SqueakJS/blob/a947f96a3fdf7473582d6b359cadd89db96cea72/vm.image.js#L70">https://github.com/codefrau/SqueakJS/blob/a947f96a3fdf7473582d6b359cadd89db96cea72/vm.image.js#L70</a></div><div dir="auto"><br></div><div dir="auto">SqueakJS artificially limits the amount of memory used, like old Squeak VMs used to do, partly because there’s no way to query the actual available memory size via JavaScript. </div><div dir="auto"><br></div><div dir="auto">Not sure what the best way is to deal with that. Maybe if we run out of room we should do a full GC, and if that didn’t help, increase the headroom? </div></div></div></div><div><div dir="auto"><br></div><div dir="auto">Vanessa<br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 23, 2022 at 06:31 Thiede, Christoph <<a href="mailto:Christoph.Thiede@student.hpi.uni-potsdam.de" target="_blank">Christoph.Thiede@student.hpi.uni-potsdam.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">



<div>

<div id="m_3658350641066779551m_-6110887656148307806divtagdefaultwrapper" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif;color:rgb(0,0,0)" dir="ltr">
<p style="font-family:Calibri,Helvetica,sans-serif">Thank you Vanessa!</p>
<p style="font-family:Calibri,Helvetica,sans-serif"><br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif">If I open Marcel's link <a href="https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip&highdpi=true" id="m_3658350641066779551m_-6110887656148307806LPlnk571964" style="font-family:Calibri,Helvetica,sans-serif" target="_blank">https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip&highdpi=true</a> on
 my high-dpi device (250%), it loads about one minute and then reproducibly says:</p>
<p style="font-family:Calibri,Helvetica,sans-serif"><br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif"><img size="149709" src="cid:184acb7822762ffc1e61" style="font-family: Calibri, Helvetica, sans-serif;"><br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif"><br>
</p>
<p style="font-family:Calibri,Helvetica,sans-serif">But I have more than 1 GB free RAM. If open the link on a low-DPI screen instead, and move it to the other screen afterward, everything works fine. :-)</p>
<p style="font-family:Calibri,Helvetica,sans-serif"><span style="font-family:Calibri,Helvetica,sans-serif"><br>
</span></p>
<p style="font-family:Calibri,Helvetica,sans-serif"><span style="font-family:Calibri,Helvetica,sans-serif">Best,</span></p>
<p style="font-family:Calibri,Helvetica,sans-serif"><span style="font-family:Calibri,Helvetica,sans-serif">Christoph</span></p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_3658350641066779551m_-6110887656148307806divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">Von:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" style="font-family:Calibri,sans-serif" target="_blank">squeak-dev-bounces@lists.squeakfoundation.org</a>> im Auftrag von Taeumel, Marcel<br>
<b style="font-family:Calibri,sans-serif">Gesendet:</b> Montag, 21. November 2022 09:50:25<br>
<b style="font-family:Calibri,sans-serif">An:</b> squeak-dev; vm-dev<br>
<b style="font-family:Calibri,sans-serif">Betreff:</b> Re: [squeak-dev] Squeak 6 on SqueakJS</font>
<div> </div>
</div></div><div>
<div>
<div id="m_3658350641066779551m_-6110887656148307806__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;text-align:left;color:rgb(0,0,0)" dir="ltr">
Hi Vanessa --
<div style="font-family:Arial"><br>
</div>
<div style="font-family:Arial">Thank you!! :-D</div>
<div style="font-family:Arial"><br>
</div>
<div style="font-family:Arial">High-DPI also works:</div>
<div style="font-family:Arial"><a href="https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip&highdpi=true" style="font-family:Arial" target="_blank"><span style="font-size:10pt;font-family:Arial">https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip&highdpi=true</span></a><br>
</div>
<div style="font-family:Arial"><br>
</div>
<div style="font-family:Arial"><span style="font-size:10pt;font-family:Arial">Best,</span><br>
</div>
<div style="font-family:Arial">Marcel</div>
<div style="font-family:Arial"></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;min-width:500px;font-family:Arial">
<p style="margin-top:10px;font-family:Arial;color:rgb(170,170,170)">Am 21.11.2022 06:29:19 schrieb Vanessa Freudenberg <<a href="mailto:vanessa@codefrau.net" style="font-family:Arial" target="_blank">vanessa@codefrau.net</a>>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">
<div dir="ltr" style="font-family:Arial,Helvetica,sans-serif">
<div style="font-family:Arial,Helvetica,sans-serif">... works now with release 1.0.5 of SqueakJS:</div>
<div style="font-family:Arial,Helvetica,sans-serif"><br>
</div>
<a href="https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip" style="font-family:Arial,Helvetica,sans-serif" target="_blank">https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22104-64bit/Squeak6.0-22104-64bit.zip</a><br>
<div style="font-family:Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Arial,Helvetica,sans-serif">We only had to recognize the new image format – sorry it took me so long. Thank you, Christoph Tiede and Dave Lewis!</div>
<div style="font-family:Arial,Helvetica,sans-serif">(<a href="https://github.com/codefrau/SqueakJS/pull/138" style="font-family:Arial,Helvetica,sans-serif" target="_blank">https://github.com/codefrau/SqueakJS/pull/138</a>)</div>
<div style="font-family:Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Arial,Helvetica,sans-serif">TODO: actually implement primitive 578 (but then, quite a few non-essential prims are still missing)</div>
<div style="font-family:Arial,Helvetica,sans-serif"><br>
</div>
<div style="font-family:Arial,Helvetica,sans-serif">Enjoy!</div>
<div style="font-family:Arial,Helvetica,sans-serif">Vanessa</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>

<br>
</blockquote></div></div>
</div>