[squeak-dev] Trunk image size

Juan Vuletich juan at jvuletich.org
Thu Dec 10 16:57:08 UTC 2009


Bert Freudenberg wrote:
> On 10.12.2009, at 17:25, Igor Stasenko wrote:
>   
>> Hi guys,
>>
>> Squeak 3.10.2-7179-basic is 14M
>>
>> while the latest trunk, after update&save is 26M
>> (after flushing MC cache, its 20M).
>>
>> I just want to tell, that maybe its time to check, if image contains
>> junk (obsolete classes, junky state in caches and other hung, but not
>> useable stuff etc)
>> and clean it up.
>>
>> I remember fighting with hanging references using chaser.. its not
>> trivial thing.. and i'm not expert in this, so i am asking if anyone
>> can check if image in healty state,
>> because as to me its size is a bit high.
>>     
>
> The new fonts will certainly take up quite a bit of space.
>
> - Bert -
The code for creating the new fonts (StrikeFont class category 'dejaVu 
font data') uses 400kb. The fonts themselves use another 400kb. You can 
check this by evaluating
    StrikeFont allInstances do: [ :f | f setGlyphsDepthAtMost: 1 ]
and saving the image (perhaps with a different name!).

So, if you're looking for 6Mb, there must be something else...

Cheers,
Juan Vuletich




More information about the Squeak-dev mailing list