[Cuis-dev] releaseActionMap

Juan Vuletich juan at cuis.st
Thu Jun 6 13:48:56 PDT 2024


On 6/6/2024 11:45 AM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> Since years, I have been struggling with action map being overcrowded 
> with events attached between drgeo math models and the views. The 
> action map is not purged  even after I close my drgeo view. It can 
> contain as much as 200k entries.
>
> This occurs with DrGeo Smalltalk sketch where tenths of thousands of 
> models/views are instantiated
>
> Then when doing a #releaseActionMap, it takes several seconds or 
> minutes to complete.
>
> I am not sure what is the right modus operandi to deal with that.
>
> My first question is why these entries are not garbage collected? The 
> obvious answer is there are references of these views and models 
> somewhere.
>
> Thanks
>
> Hilaire
>
> -- 
> GNU Dr. Geo
> http://gnu.org/s/dr-geo/
> http://gnu-drgeo.blogspot.com/

Please save an image at the precise point where doing #releaseActionMap 
will take a long time, but before doing it. Have the expression to be 
evaluated in a workspace. Make the image available to me.

I will take a look and advise.

Thanks,

-- 
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

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


More information about the Cuis-dev mailing list