I am trying to use the ActivityManager class to get memory usage statistics of bunch of processes using getMemoryInfo(pids[]). But looks like eclipse is not allowing me instantiate an object for Activ
I need to trace objects that are al开发者_如何转开发located in a request. Is there any tool or command that can help me know how many bytes are allocated and when?I think Ants Memory Profiler can help
I am new to Objective-C and still don\'t completely grasp the memory management. I have an NSMutableArray of pointers...
I\'ve got a kiosk app, which, essentially shows a bunch of slides with various bits of information on them. I initially began coding this over a year ago, when I was beginning with Objective-C and iOS
I\'m using this code, but when profiling, it tells me I have a many memory leaks within response_error, request and _response variables.
I have a class that instanciate another class and works as a delegate for that second class. That second class is \"free\" and is not retained by the first one.
Scenario1: NSDictionary *dictionary = [[NSDictionary alloc] initWithContentsOfFile:plistPath]; self.stateZips = dictionary;
What is additional memory cost of Tuple[Int, Int开发者_如何学C] ie. (1, 2) over two Ints without Tuple ?JVM overheads tend to be 16 to 24 bytes per object (32-bit and 64-bit respectively, though compr
I\'m working on a bible iPhone app. Here are the basics of what I\'m doing so far: My XMLParser parses an xml file and creates a Bible object
I solved a crash with something that sounds weird do me : calling [self retain] and [self autorelease].