Manuscript (Case [Issue]22770) Crosscutting and Misc - MetacelloProjectRegistration is significantly leaking

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22770) Crosscutting and Misc - MetacelloProjectRegistration is significantly leaking

Pharo Issue Tracker
Manuscript Notification
avatar
Pavel Krivanek opened Case 22770: MetacelloProjectRegistration is significantly leaking and assigned it to Everyone:
Bug in Project:  Crosscutting and Misc: 1. Pharo Image  •  You are subscribed to this case
The MetacelloProjectRegistration is used to identify versions of loaded baselines/configurations. But the real object graph of its register holds literally everything - the living instances of configurations, Monticello definitions etc.

We probably should not touch it in Pharo 7 but it deserves fixing because it may significantly increase image size. I have seen an image that contained 60 MB in this registry.

The MetaceloSpec instances keep their loader.
MetacelloMCVersion instances keep loaderPolicy.

<code>
MetacelloSpec allSubInstances do: [ :e | e instVarNamed: #loader put: nil].
MetacelloMCVersion allInstances do: [ :e | e loaderPolicy: nil ].
nil
</code>
Priority Priority: 2 – Really Important Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo8.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker