|
RE: Growing image: msg#00173lang.smalltalk.squeak.beginners
> -----Original Message----- > From: beginners-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx > [mailto:beginners-bounces@xxxxxxxxxxxxxxxxxxxxxxxxxx] On > Behalf Of Norbert Hartl > Sent: Tuesday, November 28, 2006 5:03 PM > To: Squeak Newbies List > Subject: [Newbies] Growing image > > 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 Inspect the result of the following... (((Object allSubclasses reject: [:each | Class allSubclasses includes: each]) select: [:each | each allInstances size > 100]) collect: [:each | each name -> each allInstances size]) asSortedCollection: [:a :b | a value > b value] It's not fast, but it'll get you what you want. Ramon Leon http://onsmalltalk.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Growing image, Norbert Hartl |
|---|---|
| Next by Date: | Re: Growing image, Klaus D. Witzel |
| Previous by Thread: | Growing image, Norbert Hartl |
| Next by Thread: | Re: Growing image, Klaus D. Witzel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |