No video

WWDC24: Analyze heap memory | Apple

  Рет қаралды 11,907

Apple Developer

Apple Developer

Күн бұрын

Dive into the basis for your app’s dynamic memory: the heap! Explore how to use Instruments and Xcode to measure, analyze, and fix common heap issues. We’ll also cover some techniques and best practices for diagnosing transient growth, persistent growth, and leaks in your app.
Discuss this video on the Apple Developer Forums:
developer.appl...
Explore related documentation, sample code, and more:
The Swift Programming Language: Automatic Reference Counting: docs.swift.org...
Profile and optimize your game's memory: developer.appl...
Detect and diagnose memory issues: developer.appl...
iOS Memory Deep Dive: developer.appl...
Explore Swift performance: developer.appl...
Consume noncopyable types in Swift: developer.appl...
00:00 - Introduction
01:05 - Heap memory overview
03:45 - Tools for inspecting heap memory issues
07:40 - Transient memory growth overview
10:34 - Managing autorelease pool growth in Swift
13:57 - Persistent memory growth overview
16:00 - How the Xcode memory graph debugger works
20:15 - Reachability and ensuring memory is deallocated appropriately
21:54 - Resolving leaks of Swift closure contexts
24:13 - Leaks FAQ
26:51 - Comparing performance of weak and unowned
30:44 - Reducing reference counting overhead
32:06 - Cost of measurement
32:30 - Wrap up
More Apple Developer resources:
Video sessions: apple.co/Video...
Documentation: apple.co/Devel...
Forums: apple.co/Devel...
App: apple.co/Devel...

Пікірлер
WWDC24: Break into the RealityKit debugger | Apple
24:11
Apple Developer
Рет қаралды 1 М.
WWDC24: Explore Swift performance | Apple
34:36
Apple Developer
Рет қаралды 14 М.
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 75 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 48 МЛН
7 Days Stranded In A Cave
17:59
MrBeast
Рет қаралды 52 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 30 МЛН
WWDC24: Consume noncopyable types in Swift | Apple
22:21
Apple Developer
Рет қаралды 3,3 М.
WWDC24: Xcode essentials | Apple
36:28
Apple Developer
Рет қаралды 11 М.
WWDC24: Say hello to the next generation of CarPlay design system | Apple
19:26
WWDC24: Go small with Embedded Swift | Apple
22:17
Apple Developer
Рет қаралды 122 М.
WWDC23: Design dynamic Live Activities  | Apple
15:00
Apple Developer
Рет қаралды 410 М.
WWDC24: Train your machine learning and AI models on Apple GPUs | Apple
18:21
WWDC24: SwiftUI essentials | Apple
24:16
Apple Developer
Рет қаралды 44 М.
WWDC24: Run, Break, Inspect: Explore effective debugging in LLDB | Apple
28:49
WWDC24: A Swift Tour: Explore Swift’s features and design | Apple
27:36
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 75 МЛН