How to remove packages and reclaim image size?
Hi - Iâm wondering how you best remove packages in the image to reclaim space? I am a bit confused because I see 2 package systems MCPackage and RPackage? And I see 2 different ways of removing things: (MCPackage named: name) unload (RPackage organizer packageNamed: name) unregister So which is the correct one to use (or are they the same?). Iâve tried both, but then when I save my image (headless in a script) - it doesnât seem to make any difference in image size. So Iâm also wondering if there is an extra step to forcing size reduction. I have tried: 3 timesRepeat: [ Smalltalk garbageCollect. Smalltalk cleanOutUndeclared. Smalltalk fixObsoleteReferences]. Which is what I saw in some ImageCleaner tool, but again I donât see any image size difference, which makes me wonder if Iâm doing the wrong thing or missing a step? Tim
participants (1)
-
Tim Mackinnon