Fundamentals

Memory management in Java

Learn where calls, variables, and objects live, when objects become unreachable, and how to avoid retaining memory needlessly.

Learn with an interactive visualization

Category: Fundamentals. Complexity: Stack · Heap · Scope · Garbage collector.

Learn where calls, variables, and objects live, when objects become unreachable, and how to avoid retaining memory needlessly. Interactive visualization,…