Re: Run iOS unit tests from instruments w/o Xcode
Re: Run iOS unit tests from instruments w/o Xcode
- Subject: Re: Run iOS unit tests from instruments w/o Xcode
- From: Fritz Anderson <email@hidden>
- Date: Wed, 23 Apr 2014 10:46:23 -0500
On 23 Apr 2014, at 1:34 AM, email@hidden wrote:
> Is this possible?
>
> It seems like I should be able to set the appropriate DYLD / XCInjectBundle environment variables and run it without Xcode.
>
> Reason I ask is I’m trying to track down high memory usage during our test run. We’re running out of memory on iPod touches trying to run the tests.
When Joar and I differ, believe Joar. I’m approaching your question assuming you’re worried about using a graphical interface (including Instruments.app), not just Xcode.
Proceeding from there:
0. You’re running out of memory _on_ the Touches? Is so, what leads you to believe that running diagnostics without Instruments.app would be different from running the same ones with it? (Honest question; I don’t fully understand your point.)
1. Are you running with zombies enabled? That prevents “released” objects from returning their storage to free memory.
2. Investigate the `instruments` command-line tool, for which the man page lists an argument that directs it to a device. I assume it works, though it might not work for every instrument.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden