[squeak-dev] 30Mb image growth from loading VMMaker?

tim Rowledge tim at rowledge.org
Tue Mar 26 18:29:50 UTC 2013


On 26-03-2013, at 4:48 AM, David T. Lewis <lewis at mail.msen.com> wrote:

> On Mon, Mar 25, 2013 at 10:44:18PM -0700, Eliot Miranda wrote:
>> On Mon, Mar 25, 2013 at 7:46 PM, tim Rowledge <tim at rowledge.org> wrote:
>> 
>>> I've just noticed that the latest-from-jenkins image that I added VMMaker
>>> to this morning is 30Mb bigger than when it started. That seems a little
>>> excessive. There certainly isn't 30Mb worth of code involved.
>>> 
>>> SpaceTally says there is 29Mb of ByteStrings in the image, which seems
>>> rather a lot. In fact, I'll just attach the space report - it really is a
>>> bit alarming
>>> 
>> 
>> I think you'll trace it back to Monticello state.  Try flushing caches and
>> see what happens.
>> 
> 
> See senders of #flushAllCaches. Mainly it's this one:
> 
>  MCFileBasedRepository flushAllCaches.
>  Smalltalk garbageCollect.

Yup, that cuts 28Mb out. Seems like an awful lot of stuff to cache in-image.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Not enough sense to come in out of the rain.




More information about the Squeak-dev mailing list