logo       

Re: Growing image: msg#00174

lang.smalltalk.squeak.beginners

Subject: Re: Growing image

Hi Norbert,

the tool is Smalltalk, just inspect

(((Smalltalk allClasses collect: [:each | each name -> each instanceCount ])
reject: [:each | each value = 0])
asSortedCollection: [:a :b | b value < a value]) asArray

This gives # of objects per class, in a nice GUI :-)

/Klaus

P.S. expect it to run minutes in a large image!

On Wed, 29 Nov 2006 01:02:44 +0100, Norbert Hartl wrote:

Hi,

at the moment I'm developing an application with
seaside, magritte and magma. If I start with a fresh
image I only need a few days for the image to exceed
100MB in total size.

Is there a way do display the total amount of objects
being in the image? I think only a vast amount of
objects could make the image grow that much. A list
of object grouped by class and sorted by amount would
be very helpful.

Is there any such tool?

regards,

Norbert


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise