woocommerce / woocommerce-ios

WooCommerce iOS app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
257 stars 108 forks source link

Log available memory upon receiving memory warning #12606

Closed selanthiraiyan closed 2 weeks ago

selanthiraiyan commented 2 weeks ago

we can use os_proc_available_memory to track the amount of memory available to our app, and we can do it when we receive a memory warning, e.g. in applicationDidReceiveMemoryWarning, ideally with the currently displayed view. That way we could know if we are actually getting memory issues, where, and how much memory we still have available. We can iterate in the future to add more information.

Internal - peaMlT-zd-p2#comment-1388

dangermattic commented 2 weeks ago

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.