Demonstration classes for garbage collection and memory consumption.