Kopec Explains Software

#77 What is a Memory Leak?


Listen Later

Memory leaks occur when a program allocates memory and fails to free it when the memory is no longer being used. They can cause the memory use of a program to balloon over time, eventually leading to performance problems or a crash. They are a common programmer error, that has been alleviated, although not eliminated, by modern programming languages. Programming languages like C and C++ use manual memory management, which requires the programmer to do some book-keeping. The programmer must keep track of all of the memory they allocated and must remember to free it. Programming languages with garbage collectors automatically free unused memory. In this episode we explain memory leaks and look at a recent case of a major memory leak in macOS Monterey as an example.

Show Notes
  • Episode 76: What is Protected Memory?
  • More memory leaks in Monterey 12.0.1
  • Follow us on Twitter @KopecExplains.

    Theme “Place on Fire” Copyright 2019 Creo, CC BY 4.0

    Find out more at http://kopec.live

    ...more
    View all episodesView all episodes
    Download on the App Store

    Kopec Explains SoftwareBy David Kopec, Rebecca Kopec

    • 5
    • 5
    • 5
    • 5
    • 5

    5

    32 ratings


    More shows like Kopec Explains Software

    View all
    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    285 Listeners

    Data Skeptic by Kyle Polich

    Data Skeptic

    475 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    580 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    624 Listeners

    CyberWire Daily by N2K Networks

    CyberWire Daily

    1,010 Listeners

    Soft Skills Engineering by Jamison Dance and Dave Smith

    Soft Skills Engineering

    271 Listeners

    AWS Podcast by Amazon Web Services

    AWS Podcast

    203 Listeners

    Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

    Super Data Science: ML & AI Podcast with Jon Krohn

    295 Listeners

    Python Bytes by Michael Kennedy and Brian Okken

    Python Bytes

    214 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    984 Listeners

    Darknet Diaries by Jack Rhysider

    Darknet Diaries

    7,818 Listeners

    Practical AI by Practical AI LLC

    Practical AI

    196 Listeners

    Big Technology Podcast by Alex Kantrowitz

    Big Technology Podcast

    405 Listeners

    Oxide and Friends by Oxide Computer Company

    Oxide and Friends

    48 Listeners

    AI Chat: ChatGPT & AI News, Artificial Intelligence, OpenAI, Machine Learning by Jaeden Schafer

    AI Chat: ChatGPT & AI News, Artificial Intelligence, OpenAI, Machine Learning

    139 Listeners