4 ms·
I’ve been running iOS 12 since the early betas and only rebooted for OS updates. Sure it’s not an app or something?
by alphabettsy 8y ago
I’ve been running iOS 12 since the early betas and only rebooted for OS updates. Sure it’s not an app or something?
- flocial 8y agoThere's one particular mobile game that is suspicious... However, this issue was nonexistent with iOS 11. The memory diagnostic app shows the "Other" section constantly growing and not being released.
- saagarjha 8y ago> The memory diagnostic app shows the "Other" section constantly growing and not being released. Are you sure you're not talking about storage space? I don't know what memory diagnostic app you're talking about.
- peter_tonoli 8y ago> The memory diagnostic app shows the "Other" section constantly growing and not being released. Sure it's not 'the memory diagnostic app' that's wrong?
- aaaaaaaaaab 8y ago>memory diagnostic app Don’t forget to update your anti-virus too!
- RyanZAG 8y agoIf an app (even badly coded) causes memory leaks in the OS, that's a fault of the OS still. Of course fast moving OSes like Android or iOS are always going to have these kinds of bugs and it's probably not related to Swift as Swift isn't used in the kernel internals.
- coldtea 8y ago>If an app (even badly coded) causes memory leaks in the OS, that's a fault of the OS still. How's that so? An app doesn't have to leak OS memory, just leak its own memory.
- saagarjha 8y agoWell, leaking kernel memory is very different than leaking application memory, because one can be paged out while the other is wired permanently.
- vardump 8y agoWired? All memory is always physically wired to the motherboard. It's unsafe for the kernel to swap the memory out, because paging doesn't (usually) work while running kernel code.
- saagarjha 8y agoWired as in not swappable.
- vardump 8y agoI write kernel mode drivers as my day job, and this is certainly the first time I've ever heard of non-swappable being called "wired". It might be called "non-pageable", "pinned", "non-swappable", etc. Out of those, I'd prefer "non-pageable", because it's the most descriptive term for it. Non-standard terminology is not great for communication.
- Aaargh20318 8y ago> I write kernel mode drivers as my day job, and this is certainly the first time I've ever heard of non-swappable being called "wired". Really ? Because it's literally called that in macOS Activity Monitor app, the term is also used in Apple's kernel documentation and API's (e.g. in the `mem_and_io_snapshot` struct defined in 'debug.h' in Kernel.framework). It's also mentioned in the Kernel Programming Guide.
- vardump 8y agoInteresting. Never did macOS drivers, just bare metal, Windows and Linux so far, macOS is not very big in our niche. Weird that Apple's terminology is so different. Typing this on a Macbook Pro, and I can see that Activity Monitor does mention "wired" memory.