[Newbies] Re: Growing image
Klaus D. Witzel
klaus.witzel at cobss.com
Wed Nov 29 00:52:21 UTC 2006
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 :-)
P.S. expect it to run minutes in a large image!
On Wed, 29 Nov 2006 01:02:44 +0100, Norbert Hartl wrote:
> 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?
More information about the Beginners