Patrick:
Using Behavior>>allInstancesDo:, Object>>someObject, ProtoObject>>nextObject, and ProtoObject>>pointsTo:, it is possible to compute the transitive closure (as a graph) of all the objects that reference a particular object (such as BitMap.) Careful anaylysis of the object reference graph of the mystery BitMaps should enable you to figure out why they are strongly referenced, and so not being garbage collected.
Perhaps a utility for this purpose already exists for Squeak. It does for VisualWorks.
--Alan
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of chenais Sent: Wednesday, June 22, 2005 6:56 AM To: squeak-dev@lists.squeakfoundation.org Subject: Increasing image size, how to reduce?
Hi every body!
The size of my image is always increasing. Squeak 3.7, 216 Mb. An analysis (SpaceTally new printSpaceAnalysis) shows that 75% is used for Bitmap. I don't know where the bitmaps are, and where are they coming from. How can get rid of them?
Note: To reduce the image size, I already tried the following: Space analyse -> SpaceTally new printSpaceAnalysis. Empty the trash -> Utilities emptyScrapsBook. Clear command history -> CommandHistory resetAllHistory. Manual Garbage Collect call -> Smalltalk garbageCollect.
Thank you in advance for your help. Patrick Chénais