I've seen some methods that use task_info() to retrieve the memory usage of an IOS app within the app:
Programmatically retrieve memory usage on iPhone
How to get memory usage of my application and system in swift by programatically
I want to know that if the app releases some memory, will it show up in task_info() immediately? That is, will IOS keep counting the memory until the IOS cleans up memory.
I don't think IOS does garbage collection, and ARC is just a compiler feature.
It seems to me that task_info() should give accurate memory info, but I'd like to double check.
Thanks.