A noob and a bloated image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

A noob and a bloated image

Schwab,Wilhelm K
Hello all,

I noted that my Pharo image was almost 50 MB in size, which struck me
as excessive, and recalling reading something about cleaning out
orphaned sessions or something, I located a relevant FAQ with the needed
magic words:

     WARegistry clearAllHandlers.
     Smalltalk garbageCollect.

That dropped the image to 28MB, which I still suspect is large, but
that is my problem to sort out.

My point is that while "How do I purge all existing sessions that might
be open.?" is a perfectly reasonable question, it might help future
noobs to tie it to concepts such as image size, bloat, garbage
collection, etc. to aid with searches on the problem of a growing
image.

Bill



Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254

Email: [hidden email]
Tel: (352) 273-6785
FAX: (352) 392-7029

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A noob and a bloated image

Philippe Marschall
2008/10/1, Bill Schwab <[hidden email]>:

> Hello all,
>
> I noted that my Pharo image was almost 50 MB in size, which struck me
> as excessive, and recalling reading something about cleaning out
> orphaned sessions or something, I located a relevant FAQ with the needed
> magic words:
>
>      WARegistry clearAllHandlers.
>      Smalltalk garbageCollect.
>
> That dropped the image to 28MB, which I still suspect is large, but
> that is my problem to sort out.
>
> My point is that while "How do I purge all existing sessions that might
> be open.?" is a perfectly reasonable question, it might help future
> noobs to tie it to concepts such as image size, bloat, garbage
> collection, etc. to aid with searches on the problem of a growing
> image.

There is a chance that a morphic GUI for such things will make it into
2.9. Contact Michael Davies if you want to help.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A noob and a bloated image

Adrian Lienhard
There may be other stuff lingering around than Seaside sessions, e.g.,  
the MC cache.
Or, are you using Polymorph? (Sorry, this may get a bit off topic for  
the Seaside list.)

Could you produce a space analysis and post it?
SpaceTally new systemWideSpaceTally

Cheers,
Adrian

On Oct 1, 2008, at 06:55 , Philippe Marschall wrote:

> 2008/10/1, Bill Schwab <[hidden email]>:
>> Hello all,
>>
>> I noted that my Pharo image was almost 50 MB in size, which struck me
>> as excessive, and recalling reading something about cleaning out
>> orphaned sessions or something, I located a relevant FAQ with the  
>> needed
>> magic words:
>>
>>     WARegistry clearAllHandlers.
>>     Smalltalk garbageCollect.
>>
>> That dropped the image to 28MB, which I still suspect is large, but
>> that is my problem to sort out.
>>
>> My point is that while "How do I purge all existing sessions that  
>> might
>> be open.?" is a perfectly reasonable question, it might help future
>> noobs to tie it to concepts such as image size, bloat, garbage
>> collection, etc. to aid with searches on the problem of a growing
>> image.
>
> There is a chance that a morphic GUI for such things will make it into
> 2.9. Contact Michael Davies if you want to help.
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A noob and a bloated image

Schwab,Wilhelm K
In reply to this post by Schwab,Wilhelm K
Adrian,

I will run the space analysis.  I _think_ I even have a copy of the
image in its very bloated state, for comparison.

The image is an earlier Pharo image with a similarly aged Pinesoft's UI
Enhancements (of course, essentially a old version of Polymorph).  I
have no idea how big the image should be but, even 28MB seems large.

More to come.  Thanks!

Bill





================================
Message: 4
Date: Wed, 1 Oct 2008 12:18:23 +0200
From: Adrian Lienhard <[hidden email]>
Subject: Re: [Seaside] A noob and a bloated image
To: Seaside - general discussion <[hidden email]>
Message-ID: <[hidden email]>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

There may be other stuff lingering around than Seaside sessions, e.g.,  
the MC cache.
Or, are you using Polymorph? (Sorry, this may get a bit off topic for  
the Seaside list.)

Could you produce a space analysis and post it?
SpaceTally new systemWideSpaceTally

Cheers,
Adrian



Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254

Email: [hidden email]
Tel: (352) 273-6785
FAX: (352) 392-7029

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A noob and a bloated image

keith1y
In reply to this post by Adrian Lienhard
Adrian Lienhard wrote:

> There may be other stuff lingering around than Seaside sessions, e.g.,
> the MC cache.
> Or, are you using Polymorph? (Sorry, this may get a bit off topic for
> the Seaside list.)
>
> Could you produce a space analysis and post it?
> SpaceTally new systemWideSpaceTally
>
> Cheers,
> Adrian
>
MC1.5 Working Copy Browser has a menu item which gives you an explorer
showing each package and an estimate of its memory use. This can be used
to find the memory bloating culprits

Keith
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: A noob and a bloated image

Ramon Leon-5
In reply to this post by Schwab,Wilhelm K
>  I have no idea how big the image should be but, even 28MB seems large.
>
> Bill

Compared to what?  28 meg isn't large at all for a fully loaded development
image.

Ramon Leon
http://onsmalltalk.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: A noob and a bloated image

Göran Krampe
In reply to this post by Schwab,Wilhelm K
Bill Schwab wrote:
> Hello all,
>
> I noted that my Pharo image was almost 50 MB in size, which struck me
> as excessive, and recalling reading something about cleaning out
> orphaned sessions or something, I located a relevant FAQ with the needed

Also - make sure you flush cache in the Monticello browser (in the
menu)- MC can really eat memory!

regards, Göran

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside