Event JSON
{
"id": "cea6b823bac968921fdc58e7edce2c05258cfa935301ac36633d05b9a055ce1c",
"pubkey": "bf1fc08b94b268c79768e67bb750de03bffb78b51af0bb4614bf2932635f361f",
"created_at": 1734606721,
"kind": 1,
"tags": [
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/113/679/185/997/362/829/original/0ff49976e2bc8498.png",
"m image/png",
"dim 1299x1056",
"blurhash U6Qv:-05^l?bk[RkIUj@NHj@jZayA3D+4oay"
],
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/113/679/186/064/227/508/original/a7b7dc2b23e1011e.png",
"m image/png",
"dim 1066x873",
"blurhash U05OT$~q$,xGW=ozt8spNFWBWBay?Js;V@ae"
],
[
"proxy",
"https://mastodon.social/users/simonbs/statuses/113679186097779090",
"activitypub"
]
],
"content": "Is it normal for memory to grow over time when a SwiftUI view observes a model with the Observation framework?\n\nIn my ~35 LOC app, memory grows with ObservableSettings.isEnabled, but stays stable with NonObservableSettings. See memory usage graphs.\n\nCode: https://gist.github.com/simonbs/3e5d6877d6e67648dac5932189ea3ff3\n\nhttps://files.mastodon.social/media_attachments/files/113/679/185/997/362/829/original/0ff49976e2bc8498.png\nhttps://files.mastodon.social/media_attachments/files/113/679/186/064/227/508/original/a7b7dc2b23e1011e.png",
"sig": "0697d128937874d0b629fe689b657f6880361845f22beabfeef62f63f379bb2161c1a34813139571bab092770765286f731e6c70e4a94fa9e3b335e36af8793c"
}