<div dir="ltr">-1.  Managing memory constraints is essential for certain software like servers.  This is a valuable test, please consider my alternative solution in KernelTests-cmm.423 in the Inbox.<div><br></div><div>Best,</div><div>  Chris</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 24, 2022 at 12:10 AM <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">A new version of KernelTests was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/KernelTests-lrnp.423.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/inbox/KernelTests-lrnp.423.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: KernelTests-lrnp.423<br>
Author: lrnp<br>
Time: 23 May 2022, 11:10:15.631043 pm<br>
UUID: 497dd2b0-6f3e-438b-81a9-4ecd50b78268<br>
Ancestors: KernelTests-nice.422<br>
<br>
remove extreme memory test<br>
<br>
It abuses system resources and can cause other programs to become corrupt if the pagefile fills the hard drive without at least 1 TB dedicated to RAM paging.<br>
<br>
=============== Diff against KernelTests-nice.422 ===============<br>
<br>
Item was removed:<br>
- ----- Method: AllocationTest>>testOutOfMemorySignalExtreme (in category 'tests') -----<br>
- testOutOfMemorySignalExtreme<br>
-       "Try to allocate a ridiculous amount of memory and check whether the expected error is signaled. Call Eliot when this test fails, he want your machine. :-)<br>
-       <br>
-       Note that current (2017) Spur VMs fail in #new: and #basicNew: with #'bad argument' if given other than a non-negative SmallInteger.<br>
-       <br>
-       Also note that this test can be quite stressful to your machine depending on how your operating system allocates the required memory behind the curtains. Better not triggering some robot fetching a tape from somewhere..."<br>
-       <br>
-       | sz |<br>
-       sz := 1024*1024*1024*1024. "= 1 TiB"<br>
-       self should: [Array new: sz]<br>
-               raise: OutOfMemory, Error<br>
-               withExceptionDo:<br>
-                       [:ex|<br>
-                        ex class == Error ifTrue:<br>
-                               [self assert: [ex messageText includesSubstring: 'basicNew: with invalid argument']]]!<br>
<br>
<br>
</blockquote></div>