On Mar 18, 2011, at 8:24 AM, Marcus Denker wrote:

> 
> On Mar 18, 2011, at 8:16 AM, Lukas Renggli wrote:
> 
>>> I would not unload packaged.
>>> 
>>> Everything not tested is broken, and so if you do things like that I am
>>> sure you will have problems.
>>> 
>>> And nobody ever unloaded anything from Core.
>> 
>> You must be joking right? In the mission you say "stable and small
>> core", but the numbers say something entirely different: PharoCore 1.0
>> is 11 MB, PharoCore 1.1 is 14 MB, PharoCore 1.2 is 16 MB. I mentioned
>> it before in this list, but I already had to unload stuff in PharoCore
>> 1.1. Honestly, I don't really see the point of a PharoCore image if it
>> contains more and more not unloadable non-core code.
>> 
> Size of the image comes in part from ever growing MC history. 

1.2  Core is 15.6MB

MCVersionInfo allInstances do: [ :each | each instVarNamed: 'ancestors' put: 
nil ].     

--> 11.8 MB

Delete ScriptLoader class in addition:

--> 9.8MB

Starting with 1.2Core, doing

  ScriptLoader new cleanUpForProduction

--> 7.5 MB

(With MinimalMorphic)

So it's not that bad.

        Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


Reply via email to