Shrinking the Squeak Image

Shrinking of the image is a process that is occasionally performed to remove unwanted classes. The intention is often to get a small image that can be used on equipment with very limited memory. In principle you can remove classes manually one by one, but shrinking does more: It finds unsent methods and removes them, too. It would be difficult to do that manually: Squeak 3.4 contains more than 41000 methods!

Shrinking can be done with various goals in mind and this is one of the problems: There is nothing like a universal shrinking script: A shrinking script is always handcrafted to meet some specific requirements for a given release of Squeak. Here you find scripts that completely remove the Morphic features of Squeak.

Each of the following archives contains a file Readme.txt. Please follow the instructions in that file and do not hesitate to report problems to Boris.Gaertner@gmx.net.

Shrinking Squeak 3.4

Here you find an archive that contains a shrinking script for Squeak 3.4: MajorShrink34a.zip (size: 70 KBytes).

The script completely removes all Morphic features. It keeps the MVC environment and a set of programming tools for MVC. The image size is approximately 1.45 MBytes, the size of the condensed sources file is 3.35 MBytes.

Shrinking Squeak 3.6

Here you find an archive that contains a shrinking script for Squeak 3.6: MajorShrink36.zip (size: 73 KBytes). The archive contains two change sets, a description in HTML format and a short readme text.

The script completely removes all Morphic features. It keeps the MVC environment and a set of programming tools for MVC. The image size is approximately 1.50 MBytes, the size of the condensed sources file is 3.5 MBytes.

Shrinking Squeak 3.7

Here you find an archive that contains a shrinking script for Squeak 3.7 #5989 basic: MajorShrink37.zip (size: 68 KBytes). The archive contains two change sets, and a description in HTML format.

The script completely removes all Morphic features and the TrueType support. It keeps the MVC environment and a set of programming tools for MVC. The image size is approximately 1.60 MBytes, the size of the condensed sources file is 3.6 MBytes.


Back to Squeak Home.

last updated: Aug 17, 2005