What is Nostr?
Simon B. Støvring /
npub1hu0…ea2t
2024-12-19 11:12:01

Simon B. Støvring on Nostr: Is it normal for memory to grow over time when a SwiftUI view observes a model with ...

Is it normal for memory to grow over time when a SwiftUI view observes a model with the Observation framework?

In my ~35 LOC app, memory grows with ObservableSettings.isEnabled, but stays stable with NonObservableSettings. See memory usage graphs.

Code: https://gist.github.com/simonbs/3e5d6877d6e67648dac5932189ea3ff3


Author Public Key
npub1hu0upzu5kf5v09mgueamw5x7qwllk794rtctk3s5hu5nyc6lxc0sv6ea2t