I have one big object graph. It begins from one root object and its properties are arrays which consist of other objects and so on.
I want to know how much memory is eating by this graph at all. Have Xcode any instrument that will show me this information by root object (maybe something like tree of all my objects)?
Or maybe it is poss...
hi, im building iPhone app that downloads images (UIImageView) from internet and adding them to UIScrollView. This scroll view could contain 20 or more UIImageViews. Iam adding UIImages to UIImageView like this:
UIImageView *newView = [[UIImageView alloc] initWithImage: image];
Then I just scroll these images like in photo app. Proble...
I require statistics of CPU Load of my iPhone apps. I am trying to use Instrument to see the CPU Load, but all I see in Instrument program is rendered graphs. I need these statistics data in raw numbers so that I can put all of them on graphs using Excel or Numbers. Is there a way to export these data in such a way? Or do I need other pr...
Hello.
I have memory leak, found by instruments and it is supposed to be in this line of code:
indices = malloc( sizeof(indices[0]) * totalQuads * 6);
This is actually a code snippet from a tutorial, something which i think is leak-free
so to say. Now I reckon, the error is somewhere else, but I do not know, where.
These are the la...
I'm running iPhone OS 3.1.3 on the device and I can run my App in debug mode on the device. I downloaded and installed the xcode_3.2.2_and_iphone_sdk_3.2_final.dmg twice, without any luck.
I appreciated any hints.
...
Hi: In an iPhone application I use a library(C++) which asynchronously makes a callback when computation is finished.
Now I want to measure the time which is spent -including the method which calls the library- until the callback is made. Are there any possibilities to do this with the Instruments application from Apple? What are the be...
Instruments is able to properly symbolize my app's main bundle (as well as frameworks and libraries) in the stack trace of the extended detail view. However, symbols aren't resolved for plugins loaded during execution.
Setting the build directory where the dSym files for the main and plugin bundles are located (as well as the app itself...
I am using instruments to resolve memory leak issues for an app in iPhone. I just wanted to know if I have to resolve the leaks coming from Foundation and CFNetwork Libraries. Specifically, the leaks are from:
1. NSCFString
2. NSConcreteData
3. General Block-3584
Since they do not directly point to the code that I have written, how shoul...
Hi there, i run a C++ app from objective-c
I can successfully symbolicate my function names using Shark profiler but not with the Object Allocations instrument.
In the detailed pane, i only see my C++ app name with the hexadecimal value for my C++ functions.
I tried to do a "File/Re-Symbolicate Document", selecting my app folder contain...
I know this has something to do with Instruments, but well it's kind of confusing and searching for Instruments on Google doesn't help much.
I'd like to know how well my app runs, like how much memory it uses. I just don't know where to find something like:
"As close as we can tell from the simulator you'll app will currently be using x...
Hi,
I posted this problem a few days ago but it was very muddled and my question wasnt very clear so I removed it. I've been digging around and the memory leak is still persiting. Hopefully this attempt will be clearer.
First off I've run the static analyzer and it reports no memory leaks.
I then ran Instruments and it pointed to a me...
I am compiling an IPhone application via command line (so no XCode options involved) and I am unable to get my symbol names to show when profiling with Instruments. I have tried several flags such as -gdawrf-2 and -g without any success. I have also tried using dsymutils to generate a .dSYM file but i have no clue how I'm supposed to use...
While debugging in instruments using 'ObjectAlloc' I'm noticing 7megs of memory being allocated for the renderInContext call, but it never is released. When I comment out the renderInContext call this doesn't happen, and future renderInContext calls does not continue to increase the memory allotment.
UIGraphicsBeginImageContext(contentH...
I was unable to find the documentation for this. There is no Quick Info.
The columns have these opaque titles:
Category
Live Bytes
# Living
# Transitory
Overall Bytes
# Overall
# Allocations (Net / Overall)
Is there a document that shows what these columns mean? Without having to read 600 pages?
...
I'm trying to test for memory leaks in my iphone and I'm not having much luck getting rid of this one. Here is the code that is leaking.
- (id)initWithManagedObjectContext:(NSManagedObjectContext *)aMoc delegate:(id)aDelegate runSync:(BOOL)aRunSync {
if (self = [super init]) {
self.moc = aMoc;
self.settingsManager ...
This is the header:
@interface ForumBrowserAppDelegate : NSObject <UIApplicationDelegate> {
ForumSelection *forumSelection;
UIWindow *window;
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet ForumSelection *forumSelection;
(I'm not sure what the nonatomic does, is it something to do w...
Who knows the most robust algorithm for a chromatic instrument tuner?
I am trying to write an instrument tuner. I have tried the following two algorithms:
FFT to create a welch periodogram and then detect the peak frequency
A simple autocorrelation (http://en.wikipedia.org/wiki/Autocorrelation)
I encountered the following basic prob...
Hi all,
I was checking my app for memory leaks using instruments and I got the following NSConcreteMutableData GeneralBlock memory leaks.When I checked it was from the following code.
NSError *error = nil;
if (![[self fetchedResultsController] performFetch:&error]) {
NSLog(@"Failed to load data : %@", [error localizedDescript...
Hello,
I've been staring at the Memory Monitor in Instruments and I am scratching my had. Why is it displaying virtual memory? iPhone OS has no virtual memory. What does it mean?
My concern is that I am getting memory warnings for my iPad app but the apps real memory never exceeds 70MB and the virtual memory never exceeds 180MB?
Could...
Actually, I'm using a second generation Ipod Touch.
What I'm trying to do is to debug my app on XCode and look for any memory leaks on Instruments at the same time. Is it even possible? Because the "Attach to Process" submenu lists when my app is running (or debugging in this case) but all the items inside this menu are disabled.
All I ...