#Memory • 3 Articles
Articles tagged with #Memory
A curated list of engineering series, deep dives, and notes related to #Memory.
Engineering Java Collections From Scratch • Part 20 2026-10-23
Java WeakHashMap Internals: Preventing Memory Leaks with Weak References
Explore how Java WeakHashMap uses WeakReference keys and ReferenceQueue polling to prevent memory leaks in caches and plugin frameworks.
Engineering Docker & Container Internals from First Principles • Part 11 2026-09-22
Enforcing Container Resource Limits: cgroups v1 vs v2 Memory and CPU Limits
Master container resource limits: cgroups v1 vs v2 architectures, CFS CPU quotas, memory limits, and OOM Killer exit code 137 mechanics.
Engineering Java Collections From Scratch • Part 1 2026-08-18
Java Memory Model Explained: Stack vs Heap Allocation for Arrays
Understand how the JVM allocates memory on the stack and heap when declaring primitive and object reference arrays in Java.