Skip to main content
This is lesson 7 of 15 in this module 7/15

Make Large Objects Long-Lived

The lesson examines the object-lifetime matrix and explains why large short-lived objects cause heap fragmentation and out-of-memory errors. We introduce object pooling as the primary strategy for keeping large objects long-lived and reusing them across allocations.

Video lesson

Want to watch this lesson?

This lesson is part of the study plan. Get instant access to all lectures, labs and practice exams.

Get the Study Plan