I have requirements when I need to automate the detection of the following in an iOS project:
- Memory leak detection
- Detection of abandoned or objects that grow without release and cause the application to crash.
And all this should be done in the terminal, so I can use it in Bamboo.
Basically, I have an application that will work for a long time (e.g. 24 hours). I can run it with tools to run with a memory leak pattern. But it’s hard for me to find a way that I can figure it out, find out what other objects are leaking and growing without releasing.
Just to summarize right now. I run the toolkit tool with the leak profile manually, stopping the application, and then manually looking at the result to see if objects are leaking, so I want to automate it by running commands in the terminal.
I would appreciate any help. Thanks in advance.
source
share