[Cuis-dev] Space is low

Nicolás Papagna Maldonado nicolas.papagna at gmail.com
Wed Jul 17 12:01:40 PDT 2024


Just thinking out loud here.

Based on what Juan mentioned, did you move the Cuis window between monitors
(assuming that triggers a resize)?


On Wed, Jul 17, 2024 at 3:45 PM Andres Valloud via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Did the machine (partially) go to sleep in those 2 hours?  Does the
> problem manifest when the machine transitions between sleep and awake?
>
> On 7/17/24 11:36, Juan Vuletich via Cuis-dev wrote:
> > This is not normal at all.
> >
> > The allocation that shows in the walkback you posted happens at the
> > start of #mainLoop. This method is only called when the Morphic system
> > needs to be reinitialized, usually because the main Cuis window was
> > resized and a new Canvas needs to be created. It should not happen if
> > you just let the machine idle for a couple of hours. And it is not
> > possible to know what's going on without further information. So, please:
> >
> > - Keep the Transcript open and visible
> > - Add this line at the start of #spawnNewMorphicProcessFor:, after the
> > temp declaration.
> >      thisContext printStack: 10.
> >
> > #spawnNewMorphicProcessFor: should only be called when the main Cuis
> > window is resized. So keep the Transcript visible and see if a stack
> > trace gets printed even if you're not resizing the Display. If this
> > happens, please post the result.
> >
> > Thanks,
> >
> > On 7/16/2024 10:44 PM, Mark Volkmann via Cuis-dev wrote:
> >> See my replies inline below. Could this be related to the fact that I
> >> have the tiger SVG displayed on the desktop with this?
> >>
> >> SVGMainMorph exampleTiger openInWorld.
> >>
> >> On Tue, Jul 16, 2024 at 8:29 PM Andres Valloud via Cuis-dev
> >> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> >>
> >>     And, what are the arguments to setExtent:depth:?
> >>
> >>
> >> extent: 3456.0 at 1440.0
> >> bitsPerPixel: 32
> >>
> >>     On 7/16/24 18:27, Andres Valloud via Cuis-dev wrote:
> >>     > Interesting.  What's the argument to basicNew:?
> >>
> >>
> >> sizeRequested is 4976640
> >>
> >>     > On 7/16/24 18:25, Mark Volkmann via Cuis-dev wrote:
> >>     >> Here's a screenshot of the stack trace.
> >>     >>
> >>     >> On Tue, Jul 16, 2024 at 8:19 PM Andres Valloud via Cuis-dev
> >>     >> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>
> >>     <mailto:cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>>>
> >>     wrote:
> >>     >>
> >>     >>     No, that's not normal.  Can you paste the debugger's stack
> >>     here?
> >>     >>
> >>     >>     On 7/16/24 18:11, Mark Volkmann via Cuis-dev wrote:
> >>     >>      > Usually when I leave Cuis Smalltalk running and walk
> >>     away from my
> >>     >>      > computer (macOS) for a couple of hours, when I come back
> >>     there
> >>     >> is a
> >>     >>      > Debugger window open with the message "Space is low". I
> >>     can just
> >>     >>     close
> >>     >>      > it and keep working. Everything seems fine. Is this
> normal?
> >>     >>      >
> >>     >>      > --
> >>     >>      > R. Mark Volkmann
> >>     >>      > Object Computing, Inc.
> >>     >>      >
> >>     >>     --     Cuis-dev mailing list
> >>     >> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> >>     <mailto:Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>>
> >>     >> https://lists.cuis.st/mailman/listinfo/cuis-dev
> >>     <https://lists.cuis.st/mailman/listinfo/cuis-dev>
> >>     >>     <https://lists.cuis.st/mailman/listinfo/cuis-dev
> >>     <https://lists.cuis.st/mailman/listinfo/cuis-dev>>
> >>     >>
> >>     >>
> >>     >>
> >>     >> --
> >>     >> R. Mark Volkmann
> >>     >> Object Computing, Inc.
> >>     >>
> >>     --
> >>     Cuis-dev mailing list
> >>     Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> >>     https://lists.cuis.st/mailman/listinfo/cuis-dev
> >>     <https://lists.cuis.st/mailman/listinfo/cuis-dev>
> >>
> >>
> >>
> >> --
> >> R. Mark Volkmann
> >> Object Computing, Inc.
> >
> >
> > --
> > Juan Vuletich
> > cuis.st
> > github.com/jvuletich
> > researchgate.net/profile/Juan-Vuletich
> > independent.academia.edu/JuanVuletich
> > patents.justia.com/inventor/juan-manuel-vuletich
> > linkedin.com/in/juan-vuletich-75611b3
> > twitter.com/JuanVuletich
> >
> >
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 

Nicolás Papagna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240717/106c448c/attachment.htm>


More information about the Cuis-dev mailing list