memory-leaks
java static member memory leak
I am reviewing one java code base for finding some memory leaks. During the review I have find the following scenarios.[详细]
2023-04-11 00:39 分类:问答Potential leak of an object warning -- clarification needed
After I Analyzed my code, Xcode indicated a potential leak as shown below. Is this something I should be concerned about?[详细]
2023-04-10 23:48 分类:问答Objective-c Http connection - Autorelease no pool - just leaking
I have a http post connection method as shown below: request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url]];[详细]
2023-04-10 18:21 分类:问答If i close and open my app several times i eventually get Out of Memory Error, does it mean i have memory leak?
I have an app which let users t开发者_如何学JAVAo pick an image from sd card and then app process the image. I am downsizing images to 1/5 of avialable vm memory and i do call recycle() for every bitm[详细]
2023-04-10 17:55 分类:问答IDisposable implementation - What should go in 'if (disposing)'
I have been fixing some memory leak issues in a winforms application and noticed some disposable objects that are not Disposed explicitly (developer hasn\'t called Dispose method). Implementation of F[详细]
2023-04-10 16:38 分类:问答memory leak with NSMutableData
I have a class for connecting with httprequests. I am getting a memory leak for \"NSMutableData\" altho I am releasing it in \"didFailWithError\" and in \"connectionDidFinishLoading\" of the connectio[详细]
2023-04-10 15:13 分类:问答Images added to AnimationDrawable programmatically leak memory
I have an android App with plenty of animations. When I programmatically create animations (using AnimationDrawable) the non-java object (as appears in DDMS Heap tab) grows with every new animation I[详细]
2023-04-10 14:54 分类:问答why does my UIViewController get retained an extra time when using initWithNibName?
I\'m working on an app that has a Main view that wants to spawn a child view when a button is touched. So when I receive the button event, the MainViewController spawns the child view by calling initW[详细]
2023-04-10 14:27 分类:问答javascript memory leak with HTML5 getImageData
I\'ve been working on trying to make some visual effects for a javascript game I\'m creating, and I noticed a piece of code that I\'m using to modulate the color of my sprites makes my browsers memory[详细]
2023-04-10 14:26 分类:问答do I must release memory for "string* settings = new string[4]" in c++ in linux?
I am currently debugging some legacy c++ programs that runs in linux OS (centos 5). Those programs all call a class static member function to get a db connection setting. The class was coded like this[详细]
2023-04-10 13:09 分类:问答