[Cuis-dev] Is this a Cuis or VM issue?

Juan Vuletich juan at jvuletich.org
Wed Mar 11 11:37:13 PDT 2020


Just posted a fix to GitHub...

On 3/10/2020 9:49 AM, Juan Vuletich via Cuis-dev wrote:
> Where is it creating a Form over 400,000 pixels wide? Why?
>
> On 3/9/2020 5:51 PM, Phil B via Cuis-dev wrote:
>> I think that would help the initial responsiveness of the hierarchy 
>> morph.  However, it really just masks the larger (oh, I crack myself 
>> up ;-) problem: the morph is trying to create a *massive* Form.  In 
>> this case, it was over 400,000 wide!  I understand why this is, given 
>> that a hierarchy can be arbitrarily deep.  But maybe we want to have 
>> an overall cap of the max width of the form it will try to allocate?  
>> I was thinking maybe 2k but then thought that people with 5k monitors 
>> might not find that to be enough...
>>
>> On Mon, Mar 9, 2020 at 1:45 PM Juan Vuletich via Cuis-dev 
>> <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>>
>>     What about something like the attach?
>>
>>     Cheers,
>>
>>     -- 
>>     Juan Vuletich
>>     www.cuis-smalltalk.org  <http://www.cuis-smalltalk.org>
>>     https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>>     https://github.com/jvuletich
>>     https://www.linkedin.com/in/juan-vuletich-75611b3
>>     @JuanVuletich
>>
>>
>>     On 3/7/2020 7:14 PM, Hernan Wilkinson via Cuis-dev wrote:
>>>     right.
>>>
>>>     On Fri, Mar 6, 2020 at 10:32 PM Andres Valloud via Cuis-dev
>>>     <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
>>>
>>>         ... obviously, there cannot be more references to 1 than
>>>         there are
>>>         objects in the system, and there are only so many of those...
>>>
>>>         On 3/6/20 01:20, Hernan Wilkinson via Cuis-dev wrote:
>>>         > I do not know how the ReferenceFinder works but it looks
>>>         to me that it
>>>         > is creating a lot of objects, maybe because of the type of
>>>         search you
>>>         > are doing... Looking for references to 1 for sure will
>>>         generate a lot of
>>>         > references
>>>         >
>>>         > I just debug it a little bit and it looks like the problem
>>>         is not in the
>>>         > scanning for references but in showing the result when
>>>         expanding the
>>>         > first node...
>>>         >
>>>         > On Fri, Mar 6, 2020 at 5:00 AM Phil B 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:
>>>         >
>>>         >     1) Start a fresh image
>>>         >     2) Open a Workspace
>>>         >     3) doit: ReferenceFinder openExplorerOn: 1.
>>>         >     4) The image appears to be gc'ing like crazy. 
>>>         Minimize the results
>>>         >     window as soon as you're able.
>>>         >     5) leaving that window open, again doit: ReferenceFinder
>>>         >     openExplorerOn: 1.
>>>         >
>>>         >     On my system with gigs of free ram and the image
>>>         showing ~100 Meg
>>>         >     used at the OS level, I get a low memory warning and a
>>>         console
>>>         >   
>>>          message: sqAllocateMemorySegmentOfSizeAboveAllocatedSizeInto mmap:
>>>         >     Cannot allocate memory
>>>         >
>>>         >     Ordinarily I'd say this type of message is clearly a
>>>         VM issue but
>>>         >     with so little RAM actually being used I'm wondering
>>>         if it might be
>>>         >     a misleading error?
>>>         >     --
>>>         >     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
>>>         >
>>>         >
>>>         >
>>>         > --
>>>         > *Hernán Wilkinson
>>>         > Agile Software Development, Teaching & Coaching*
>>>         > *Phone: +54-011*-4893-2057
>>>         > *Twitter: @HernanWilkinson*
>>>         > *site: http://www.10Pines.com <http://www.10pines.com/>*
>>>         > Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>>         >
>>>         -- 
>>>         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
>>>
>>>
>>>
>>>     -- 
>>>     *Hernán Wilkinson
>>>     Agile Software Development, Teaching & Coaching*
>>>     *Phone: +54-011*-4893-2057
>>>     *Twitter: @HernanWilkinson*
>>>     *site: http://www.10Pines.com <http://www.10pines.com/>*
>>>     Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>
>>     -- 
>>     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
>>
>
>
> -- 
> Juan Vuletich
> www.cuis-smalltalk.org
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
> https://github.com/jvuletich
> https://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich


-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200311/99085129/attachment-0001.htm>


More information about the Cuis-dev mailing list