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

Phil B pbpublist at gmail.com
Fri Mar 6 10:52:23 PST 2020


The thing I'm not understanding is that assuming the worst case (on this
all I can come up with is a perhaps a circular reference?), how is it even
possible for the VM to be allocating/freeing all available memory (10+GB)
in 1-2 seconds given that none of the individual objects in a fresh image
are all that big?  Normally when I have an out of control process that OOMs
in Cuis it takes 10+ seconds and you watch it happening at the OS level due
to the fact that it takes time to allocate and even minimally do something
with that much memory.

On Fri, Mar 6, 2020 at 4:20 AM Hernan Wilkinson <
hernan.wilkinson at 10pines.com> 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>
> 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
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
>
> *Hernán WilkinsonAgile 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200306/4526afca/attachment.htm>


More information about the Cuis-dev mailing list