iOS: Track memory usage during tests

Has anyone had any success with viewing the instruments trace to figure out the app’s memory usage?

I’ve been trying to do this with --tracetemplate and --tracedir flags using a trace template that had the Automation and Allocations instruments. When I viewed the trace after the test though, Allocations was totally empty. The log also had the following line:

2015-02-27 19:26:58:305 - info: [IOS_SYSLOG_ROW ] Feb 27 13:26:58 Jerome-Villanueva DTMobileIS[4884]: -[DTObjectAllocService startCollectionWithPid:]: Allocations tracking library was not loaded in time.

Does anyone know why this might be happening, or have any alternatives for tracking the app’s memory usage during tests?

Hi, @jervill . Have you figured out how to do that?