简体   繁体   中英

Memory Leak? Or bug in instruments?

I'm sure it's a memory leak, and I'm certainly no expert in memory allocation, but instruments says I have a memory leak of zero bytes... 在此处输入图片说明

Can someone explain what exactly that means?

The leaked object (including the responsible party that initiates it) should appear in the lower half part of the Instruments window, once you have selected the "Leaks Discovered".

Doing an "Analyze" (Command + I) in XCode will also show possible memory leaks in your code.

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