简体   繁体   中英

iOS memory management?

In iOS, is there a way/ a tool to know how much memory an object uses when it is created while the app is running? Using the console for example.

Xcode Tools随附的Instruments可以为您显示有关正在运行的应用程序的许多有趣信息。

Choose Run->Run with Performance Tool-> Object Allocations. (Or whichever thing you want to monitor)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM