This document discusses how to write memory efficient code. It begins by explaining that memory is not as cheap as it used to be and often becomes saturated first. The document recommends measuring wasted memory by capturing heap dumps in production and analyzing them with HeapHero. Examples of memory inefficiencies discussed include duplicate strings, inefficient collections, duplicate objects, boxed numbers, and object overhead. Strategies provided to optimize memory usage include using String interning, avoiding unnecessary object creation, using collection capacities correctly, and reducing object nesting. The presentation aims to help developers reduce computing costs and garbage collection pauses through optimizing memory usage.