Login  Register

Re: Image growing size

Posted by Pharo Smalltalk Users mailing list on Feb 04, 2015; 4:06am
URL: https://forum.world.st/Image-growing-size-tp4803428p4803528.html

Do any of your (class/pool variable) singleton instances store data? add a #clearAll or #reset (mySingletonVar := nil) to the class side -- or whatever fits your app -- and do that before that #garbageCollect block. [In fact, put that in some XXXAdmin class]

Good Luck,
Cam

On Tue, Feb 3, 2015 at 12:31 PM, [hidden email] <[hidden email]> wrote:

Try to open monticello and select any repo, right click and clear the package cache.

If you are using monticello that is.

Also close all windows, open a workspace and do the

10 timesRepeat: [ Smalltalk garbageCollect].

HTH
Phil

Le 3 févr. 2015 17:49, "Laura Risani" <[hidden email]> a écrit :
Hi all,

The official image i've downloaded weighted about 40 MB. Now its size is about 200 MB. What is the explanation? Is this normal or have i done something wrong?

I haven't been using globals, just downloaded and defined some packages. The only over persistent thing i've done is to keep an instance variable in some classes i wanted to have a unique instance.


Best,
Laura