Hi Guys,
i have a problem with testing my iPhone app: i want a summary of how much network traffic the app needs for a special operation.
I have tried using instruments, but the network activity monitor has no sum of the traffic (and i really neeeeeeed a sum!!!).
So how can i get the sum out of the network activity monitor?
Best regar...
Hi I am getting unable to configure leaks instrument for target process when i try to run the performance tool with my app on a simulator. any ideas? I have the last xcode version. Thanks. I never had this problem before. I noticed this after updating my xcode.
...
does anyone ever hear about programming self-efficacy scale?? i'm looking for the guidance to know and to applying this research instrument.
please inform me for any information related to this research instruments. thanks..
...
I'm interested in, and trying to find information on, the topic of programming musical instrument emulators. As an example, see http://www.youtube.com/watch?v=RhCJq7EAJJA (Smule's Ocarina app for the iPhone).
However, I'm not finding much information on this topic. Running with the ocarina app as an example, how are the individual notes...
Hey all,
I'm trying to get Time Profiler to play nice with me. I am able to set it up with my iPhone and capture data. However, Instruments doesn't really show much information about where the virtual bottlenecks exist in my code. If I click on the memory addresses to show more detail Instruments tells me that they're unavailable.
How ...
I'd like to show the memory peak (not 'leak', but the highest quantity of memory used in small amount of time) of an iPhone app i am running in the simulator. Where shall i look precisely?
PS I am using libxml2 and i suppose that the allocations done by the library aren't considered
...
Hello,
I couldn't realize why this code is being marked as having memory leaks:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
MenuViewController *menuView = [[MenuViewController alloc] initWithNibName:@"MenuView" bundle:[NSBundle mainBundle]];
navigationContr...
Hello,
I just spent a whole week tracking down and whacking memory leaks over the head, and I arrived on the other end of that week a little dazed. There has to be a better way to do this, is all I can think, and so I figured it was time to ask about this rather heavy subject.
This post turned out to be rather huge. Apologies for that,...
Hi,
I'm trying to find all memory abandoned using instruments.
The leaks test has been passed and at least it can't find any memory leak.
I'm doing some repeated actions between each Marked Heap, and the average is 100,00 kb for heap growth and 1000 objects alive.
Doing a quick search on each snapshot, I found 700 with a heap of 64 ...
I have 2 arrays, 1 in the viewDidLoad method and 1 in the add method(adds an object to favorites)
NSUserDefaults *myDefault = [NSUserDefaults standardUserDefaults];
NSArray *prefs = [myDefault arrayForKey:@"addedPrefs"];
userAdded = [[NSMutableArray alloc] initWithArray:prefs];
Instruments is showing leaks from these prefs NS...
Hello,
I am getting close to finishing the release of my application and are trying to use Instruments to fix any memory leaks.
How come that I can spot one memory leak when using Instruments and my device but not when I am using the iPhone simulator? I understand that this is a high-level question, but I don't think posting any code ...
Hi,
We're trying to determine why one of our web app ends up getting the Mobile Safari app killed on the iPad (works fine in the Simulator or even on the iPhone).
Is it possible to profile a web application CPU/Memory usage by profiling Mobile Safari app via Instruments (either on the simulator, or even better on the device)?
Thanks!
...
After recording a memory leak trace in instruments for iphone simulator, how do I compare it with another memory leak trace ?
How do I make instruments to show only the new memory leaks which are different from the other compared memory trace ?
Thanks,
-Viral
...
I tested my app in Instruments. No leaks found, but app crashes (not immediately - after ~20 minutes [depends on user's activity] of working). I viewed Allocations. It reports:
Category | Live Bytes | Count Live | # Living | # Transitory | Overall Bytes | # Allocations (Net / Overall)
Malloc 16 Bytes | 235088 | 14693 | 0 | 235088 | 1469...
Do I have to "release" my UI objects that I declared as IBOutlets with property attributes "retain" and "nonatomic"? I ask because I have a UI var declared as so...
@interface MyViewController : UIViewController
{
IBOutlet UILabel *lblStatus;
}
@property (retain, nonatomic) IBOutlet UILabel *lblStatus;
@end
and my dealloc like so....
Hello. I'm diving into iOS development and am getting familiar with the tools. At the end of every day, I perform a "Run with instruments tool -> Leaks" on my app to check for any memory leaks I may have implemented that day. It rarely seems to detect any leaks and, while I'd like to think I'm just a natural iOS programmer, I refuse t...
Hi,
Just wondering if my iPhone application should be running slow when I put it through instruments? When I test my app using instruments, it goes extremely slow and is frustrating to use.
Thanks.
...
I have this snippet of code from a class created by Erica Sadun, that Instruments says is leaking:
- (void)cacheBeginPointForTouches:(NSSet *)touches
{
if ([touches count] > 0) {
for (UITouch *touch in touches) {
CGPoint *point = (CGPoint *)CFDictionaryGetValue(touchBeginPoints, touch);
if (point == N...
Can any one please let me know, how to launch instrument tool in xcode environment for testing the memory leaks.
Note: iam not connected with the device, checking it only with the simulator - XCODE - Version 3.2.3 , iOS -4
Thanks in advance
...
I am using xcode 3.2 and I have leaks in my app but how can I find the line in my code which is leaking?? In earlier version of xcode I just used to double click on the object in the instrument which used to show the xcode with pointing the line with the leak. But in the 3.2 version I am not able to do that.
Please anyone tell me how to...