Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to use an ImageSegment to determine memory usage
Last updated at 12:46 pm UTC on 16 January 2006
Bijan Parsia wrote:
You may use ImageSegments to help figure out memory consumption of your objects:

String streamContents: [:strm |
		(ImageSegment new copyFromRootsForExport: Browser allInstances)
					printSpaceAnalysisOn: strm]

> Now that I've posted this, I can ask: What _exactly_ does it
> analyze? How deep does it go?