<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Aptos;
        panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
        {mso-style-priority:99;
        mso-style-link:"Header Char";
        margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
p.MsoFooter, li.MsoFooter, div.MsoFooter
        {mso-style-priority:99;
        mso-style-link:"Footer Char";
        margin:0in;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.gmailsignatureprefix
        {mso-style-name:gmail_signature_prefix;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
span.HeaderChar
        {mso-style-name:"Header Char";
        mso-style-priority:99;
        mso-style-link:Header;
        font-family:"Aptos",sans-serif;}
span.FooterChar
        {mso-style-name:"Footer Char";
        mso-style-priority:99;
        mso-style-link:Footer;
        font-family:"Aptos",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
/* Page Definitions */
@page
        {mso-endnote-separator:url("cid:header.htm\@01DAE8EB.42834A30") es;
        mso-endnote-continuation-separator:url("cid:header.htm\@01DAE8EB.42834A30") ecs;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;
        mso-footer:url("cid:header.htm\@01DAE8EB.42834A30") f1;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="2" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I’m not exactly sure how I got it into that state, but this may be related… I had saved the image while it was full screen on my 5K external monitor. I also had left the image running and the next time I woke
 the machine up and plugged in the monitors I found the image had hung. As Juan mentioned, if I opened the image, moved it to the 5K, and immediately set it to full screen then it would hang. I didn’t get the same space is low message, but what we tracked down
 was an allocation for the new screen that was failing.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">Juan Vuletich <juan@cuis.st><br>
<b>Date: </b>Wednesday, August 7, 2024 at 4:08</span><span style="font-family:"Arial",sans-serif;color:black"> </span><span style="color:black">PM<br>
<b>To: </b>Discussion of Cuis Smalltalk <cuis-dev@lists.cuis.st><br>
<b>Cc: </b>Mark Volkmann <r.mark.volkmann@gmail.com>, Jon Raiford <raiford@labware.com><br>
<b>Subject: </b>Re: [Cuis-dev] Space is low<o:p></o:p></span></p>
</div>
<p class="MsoNormal">Hi Folks,<br>
<br>
Yesterday Jon Raiford saved an image that did something similar to what you Mark describe when starting it, moving it to a 5k display, and setting it full screen. We spent several hours debugging together. The result is updates #6569 and #6570, pushed today
 to GitHub. These updates do fix the issue as experienced by Jon. I'm pretty confident they'd fix what you Mark saw too.<br>
<br>
Thank you Jon for finding a case we could reproduce, and for debugging it together!<br>
<br>
Cheers,<br>
<br>
On 7/25/2024 10:38 AM, Mark Volkmann via Cuis-dev wrote: <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">It finally happened again. I have attached two screenshots, one showing the exception and one showing Transcript output that Juan requested.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 18, 2024 at 9:08<span style="font-family:"Arial",sans-serif"> </span>AM Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">The "Space is low" issue hasn't repeated itself for me in the past couple of days, but I'll report back if it does happen again. I did pull down the latest updates to Cuis a couple of days ago, so I suppose it's possible there was a recent
 change that fixed this.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 18, 2024 at 2:48<span style="font-family:"Arial",sans-serif"> </span>AM Barry Perryman <<a href="mailto:barry.perryman@gmail.com" target="_blank">barry.perryman@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">What happens when you minimise cuis before letting it go to sleep?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">I'm asking because this is what happens on my Mac - M2 Mini running Sonoma with LG 4K screen.
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I usually run Cuis as a window - so not full screen. When the system goes to sleep, or the display sleeps, it quite often, although not always, will resize the window to a smaller size. Cuis isn't the only application that this happens
 to; citrix client will also have the same issue, again not every time, even though that is run as full screen. I've always figured this is some mac sleep quirk that I have to live with.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I haven't had the issue occur when I minimise the cuis window - although I have had the icon on the dock look like it's been resized - so instead of a 128x128 icon it's shrunk to say a 80x60 icon (guess).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Next time few times it happens I'll grab the size because now I think about it I'm fairly sure the resize looks to be about the same size every time.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I've not reported this before because I've never been able to consistently reproduce it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Barry<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On 18 Jul 2024, at 01:16, Mark Volkmann via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">A sleep of the Mac was involved. <o:p></o:p></p>
<div>
<p class="MsoNormal">I didn't move the window myself after it woke up, but I do have it on a second monitor, so when it wakes up I suppose macOS "moves it".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">My Mac has slept several times today and did not result in a low memory exception on waking.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I inserted the logging code that Juan requested.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Perhap it will happen again tomorrow morning. I'll report back if it does.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 17, 2024 at 2:02<span style="font-family:"Arial",sans-serif"> </span>PM Nicolás Papagna Maldonado via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">Just thinking out loud here. <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Based on what Juan mentioned, did you move the Cuis window between monitors (assuming that triggers a resize)?<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 17, 2024 at 3:45<span style="font-family:"Arial",sans-serif"> </span>PM Andres Valloud via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Did the machine (partially) go to sleep in those 2 hours?  Does the
<br>
problem manifest when the machine transitions between sleep and awake?<br>
<br>
On 7/17/24 11:36, Juan Vuletich via Cuis-dev wrote:<br>
> This is not normal at all.<br>
> <br>
> The allocation that shows in the walkback you posted happens at the <br>
> start of #mainLoop. This method is only called when the Morphic system <br>
> needs to be reinitialized, usually because the main Cuis window was <br>
> resized and a new Canvas needs to be created. It should not happen if <br>
> you just let the machine idle for a couple of hours. And it is not <br>
> possible to know what's going on without further information. So, please:<br>
> <br>
> - Keep the Transcript open and visible<br>
> - Add this line at the start of #spawnNewMorphicProcessFor:, after the <br>
> temp declaration.<br>
>      thisContext printStack: 10.<br>
> <br>
> #spawnNewMorphicProcessFor: should only be called when the main Cuis <br>
> window is resized. So keep the Transcript visible and see if a stack <br>
> trace gets printed even if you're not resizing the Display. If this <br>
> happens, please post the result.<br>
> <br>
> Thanks,<br>
> <br>
> On 7/16/2024 10:44 PM, Mark Volkmann via Cuis-dev wrote:<br>
>> See my replies inline below. Could this be related to the fact that I <br>
>> have the tiger SVG displayed on the desktop with this?<br>
>><br>
>> SVGMainMorph exampleTiger openInWorld.<br>
>><br>
>> On Tue, Jul 16, 2024 at 8:29<span style="font-family:"Arial",sans-serif"> </span>PM Andres Valloud via Cuis-dev
<br>
>> <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>> wrote:<br>
>><br>
>>     And, what are the arguments to setExtent:depth:?<br>
>><br>
>><br>
>> extent: <a href="mailto:3456.0@1440.0">3456.0@1440.0</a><br>
>> bitsPerPixel: 32<br>
>><br>
>>     On 7/16/24 18:27, Andres Valloud via Cuis-dev wrote:<br>
>>     > Interesting.  What's the argument to basicNew:?<br>
>><br>
>><br>
>> sizeRequested is 4976640<br>
>><br>
>>     > On 7/16/24 18:25, Mark Volkmann via Cuis-dev wrote:<br>
>>     >> Here's a screenshot of the stack trace.<br>
>>     >><br>
>>     >> On Tue, Jul 16, 2024 at 8:19<span style="font-family:"Arial",sans-serif"> </span>PM Andres Valloud via Cuis-dev<br>
>>     >> <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>><br>
>>     <mailto:<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>>><br>
>>     wrote:<br>
>>     >><br>
>>     >>     No, that's not normal.  Can you paste the debugger's stack<br>
>>     here?<br>
>>     >><br>
>>     >>     On 7/16/24 18:11, Mark Volkmann via Cuis-dev wrote:<br>
>>     >>      > Usually when I leave Cuis Smalltalk running and walk<br>
>>     away from my<br>
>>     >>      > computer (macOS) for a couple of hours, when I come back<br>
>>     there<br>
>>     >> is a<br>
>>     >>      > Debugger window open with the message "Space is low". I<br>
>>     can just<br>
>>     >>     close<br>
>>     >>      > it and keep working. Everything seems fine. Is this normal?<br>
>>     >>      ><br>
>>     >>      > --<br>
>>     >>      > R. Mark Volkmann<br>
>>     >>      > Object Computing, Inc.<br>
>>     >>      ><br>
>>     >>     --     Cuis-dev mailing list<br>
>>     >> <a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a>><br>
>>     <mailto:<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a>>><br>
>>     >> <a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">
https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
>>     <<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>><br>
>>     >>     <<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
>>     <<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>>><br>
>>     >><br>
>>     >><br>
>>     >><br>
>>     >> --<br>
>>     >> R. Mark Volkmann<br>
>>     >> Object Computing, Inc.<br>
>>     >><br>
>>     -- <br>
>>     Cuis-dev mailing list<br>
>>     <a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a> <mailto:<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a>><br>
>>     <a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
>>     <<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>><br>
>><br>
>><br>
>><br>
>> -- <br>
>> R. Mark Volkmann<br>
>> Object Computing, Inc.<br>
> <br>
> <br>
> -- <br>
> Juan Vuletich<br>
> <a href="http://cuis.st/" target="_blank">
cuis.st</a><br>
> <a href="http://github.com/jvuletich" target="_blank">
github.com/jvuletich</a><br>
> <a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">
researchgate.net/profile/Juan-Vuletich</a><br>
> <a href="http://independent.academia.edu/JuanVuletich" target="_blank">
independent.academia.edu/JuanVuletich</a><br>
> <a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">
patents.justia.com/inventor/juan-manuel-vuletich</a><br>
> <a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">
linkedin.com/in/juan-vuletich-75611b3</a><br>
> <a href="http://twitter.com/JuanVuletich" target="_blank">
twitter.com/JuanVuletich</a><br>
> <br>
> <br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
Nicolás Papagna<o:p></o:p></p>
</div>
<p class="MsoNormal">-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">R. Mark Volkmann</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Object Computing, Inc.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal">-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">R. Mark Volkmann</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Object Computing, Inc.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span class="gmailsignatureprefix">-- </span><o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial",sans-serif">R. Mark Volkmann</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"Arial",sans-serif">Object Computing, Inc.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Juan Vuletich<o:p></o:p></pre>
<pre>cuis.st<o:p></o:p></pre>
<pre><a href="http://github.com/jvuletich">github.com/jvuletich</a><o:p></o:p></pre>
<pre><a href="http://researchgate.net/profile/Juan-Vuletich">researchgate.net/profile/Juan-Vuletich</a><o:p></o:p></pre>
<pre><a href="http://independent.academia.edu/JuanVuletich">independent.academia.edu/JuanVuletich</a><o:p></o:p></pre>
<pre><a href="http://patents.justia.com/inventor/juan-manuel-vuletich">patents.justia.com/inventor/juan-manuel-vuletich</a><o:p></o:p></pre>
<pre><a href="http://linkedin.com/in/juan-vuletich-75611b3">linkedin.com/in/juan-vuletich-75611b3</a><o:p></o:p></pre>
<pre><a href="http://twitter.com/JuanVuletich">twitter.com/JuanVuletich</a><o:p></o:p></pre>
</div>
</div>
</div>
</div>
</body>
</html>