Squeak Object Space Tally transforms the object heap into a tree of space usage showing it in a treemap.
# Squeak ObjectSpaceTally
[docs](doc/SWASpaceTally.md)
Structural memory analysis for Squeak. Instead of a flat per-class table
like the built-in `SpaceTally`, this walks the live object graph from the
roots and builds a tree of space usage you can explore three ways:
- **Explorer**, a multi-column tree browser with Tally / Treemap / Diff actions
- **Treemap**, a squarified treemap where area = byte size, with zoom and tooltips
- **Diff**, compares two tallies to isolate exactly what your app allocated

## Installation
To load this package:
```smalltalk
Metacello new
baseline: 'ObjectSpaceTally';
repository: 'github://hpi-swa-lab/squeak-object-space-tally:main/src';
load.
```
To develop this package, use GitS.
## Quick Start
```smalltalk
spaceTally := SWASpaceTally new
trackOtherParents: true;
walk;
compact:100000.
spaceTally openExplorer.
spaceTally openTreemap.
```
Or from the world menu: **open... -> Space Tally**.
## Authors
* Jens Lincke, Software-Architecture Group, HPI, 2026
## AI Usage
* Created with the help of [SqueakMCP](https://github.com/hpi-swa-lab/squeak-mcp) / OpenCode / Claude Opus
## License
MIT -- see [LICENSE](LICENSE).