<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>I would vote not only to declare #testOneGigAllocation as an expected failure but to comment it out (better: give the selector a different prefix) for now. In many cases, #<span>testOneGigAllocation</span> fails for me, but not without hanging the VM for
 a few minutes because my entire laptop is out of RAM and starts swapping out things from several processes. In other cases, the test works.</p>
<p><br>
</p>
<p>By the way, I noticed that the test consumes significantly more memory than it should:</p>
<p><br>
</p>
<p><img size="57437" contenttype="image/png" id="img455436" style="user-select: none;" contextid="img801585" tabindex="0" height="1104" src="cid:55c93bc5-1058-4ec6-94da-97fa425ee716"><br>
</p>
<p>(alt: Screenshot of the Windows task manager. During the test execution, RAM consumption rises from 45% to 95%. The device has 15.8 GB of RAM in total.)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com><br>
<b>Gesendet:</b> Donnerstag, 19. Mai 2022 17:07:06<br>
<b>An:</b> Bruce O'Neel; The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] beta 21760 AllocationTest results on x64 Mac</font>
<div> </div>
</div>
<div>
<div dir="ltr">In this case, please move the testing code out of SUnit TestCase<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le jeu. 19 mai 2022 à 13:41, Bruce O'Neel <<a href="mailto:bruce.oneel@pckswarms.ch">bruce.oneel@pckswarms.ch</a>> a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>HI,<br>
</div>
<div><br>
</div>
<div>I think it would be better not to test out of memory unless especially asked for.<br>
</div>
<div><br>
</div>
<div>Too many systems will work hard to keep going at the expense of basically seeming to freeze from the user's POV.<br>
</div>
<div><br>
</div>
<div>We can keep the test, but, only run when someone asks specifically.<br>
</div>
<div><br>
</div>
<div>cheers<br>
</div>
<div><br>
</div>
<div>bruce</div>
<div><br>
</div>
<div>
<div>On 2022-05-19T11:26:54.000+02:00, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de" target="_blank">marcel.taeumel@hpi.de</a>> wrote:</div>
<blockquote>
<div>
<div id="gmail-m_-7279399816953505586__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);text-align:left" dir="ltr">
Hmm... I think we should ignore that #<span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">testOutOfMemorySignal until we can define some kind of upper limit in the VM. Operating Systems these days start paging and whatnot. You will never be
 out-of-memory until your system crashes. xD</span>
<div></div>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px"><br>
</span></div>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Best,</span></div>
<div><span style="font-family:Arial,Helvetica,sans-serif;font-size:13px">Marcel</span></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px;min-width:500px">
<p style="color:rgb(170,170,170);margin-top:10px">Am 19.05.2022 06:54:10 schrieb Lauren Pullen <<a href="mailto:drurowin@gmail.com" target="_blank">drurowin@gmail.com</a>>:</p>
<div style="font-family:Arial,Helvetica,sans-serif">testOneMegAllocation: pass <br>
testOneGigAllocation: fail <br>
testOutOfMemorySignal: fail <br>
<br>
When run from Print-it, testOneGigAllocation still fails and <br>
testOutOfMemorySignal passes... both with a near zero duration reported. <br>
<br>
When run from Debug-it, both tests pass with duration equal to wall time. <br>
<br>
Squeak 6.0 beta 21760 <br>
202205110711 VM <br>
Mac OSX x64 (non-fat) binary <br>
Intel CPU (no Rosetta... or whatever they call it now) <br>
<br>
</div>
</blockquote>
</div>
<hr>
</div>
</blockquote>
</div>
<br>
</blockquote>
</div>
</div>
</body>
</html>