<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">Hi Timothy,</div><div dir="ltr"><br><blockquote type="cite">On Oct 27, 2021, at 7:26 AM, gettimothy via Squeak-dev <squeak-dev@lists.squeakfoundation.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div><div style="font-family :  Verdana,  Arial,  Helvetica,  sans-serif; font-size :  10pt;"><div>Hi Folks,<br></div><div><br></div><div>I am doing an experiment to load a bunch of objects into my Squeak6/Spur image.<br></div><div><br></div><div><br></div><div>What should I expect if it fills up?<br></div><div><br></div><div>Will it throw a SmallTalk error with a debugger?<br></div></div></div></div></div></blockquote><div><br></div>Yes, a low space error.  Search for lowspace in a Message Names and you should find the low space process, etc.  look also at the allocation tests.  However…<div><br><blockquote type="cite"><div dir="ltr"><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div><div style="font-family :  Verdana,  Arial,  Helvetica,  sans-serif; font-size :  10pt;"><div><span style="font-size: 10pt;">Or should I expect it to segfault or something.</span></div></div></div></div></div></blockquote><div><br></div>Not segfault, but something.  In practice Spur asks for more memory from the OS.  There is an optional limit on old space size.  If set then you should see a low space signal.  If not set the system will simply slow down as the OS continues to provide memory and start to page.</div><div><br></div><div>The low space mechanism can work, but only if the vm has a good estimate of how much memory it can ask for.  Unfortunately I’m unaware of APIs the vm can use to derive this estimate.  So one is left with having to set thd limit manually.</div><div></div><div><br><blockquote type="cite"><div dir="ltr"><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div style="font-family :  Verdana,  Arial,  Helvetica,  sans-serif; font-size :  10pt;"><div><span style="font-size: 10pt;">Thank you for your time.</span></div></div></div></div></blockquote><br><div>HTH,</div><div>Eliot<br><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">_,,,^..^,,,_ (phone)</span></div></div></div></body></html>