memory-leaks
valgrind multiple type suppression
I\'m writing a suppression file for valgrind and I have one like this (taken from the core manual) { libX11.so.6.2/libX11.so.6.2/libXaw.so.7.0[详细]
2023-04-09 13:20 分类:问答Android - How to finish button if using setVisibility
I have buttons and they all finish to go to the next activity. But I\'m trying to finish an button that has setVisibility like example code below.[详细]
2023-04-09 09:27 分类:问答How to guarantee that app contains no memory leaks?
How can one guarantee (or at least come reasonably close) that one\'s app contains no memory leaks? What are the specific steps one should follow please?[详细]
2023-04-09 03:27 分类:问答Delphi Memory Issue (FastMM4)
Working on a project which uses factories to construct objects. I keep the pointers to the factory functions in vars globally (bad I know) and register them on initialization.[详细]
2023-04-09 03:22 分类:问答Retain memory leak in iphone menuitem
How to solve memory leak in this: NSArray *keyboard = [[[NSDictionary alloc] initW开发者_StackOverflow中文版ithContentsOfFile:menuPath] objectForKey:@\"Menu\"];[详细]
2023-04-09 03:14 分类:问答how to clear an NSMutableArray of custom objects without creating memory leaks?
If I have an NSMutableArray of custom objects, how can I must easily clear the array without causing any memory issues?Assume that the custom object class has a dealloc method in it which correctly re[详细]
2023-04-09 01:45 分类:问答Is the analyzer really trustworthy concerning the detection of memory leaks?
In my app delegate I have the following code snippet: ... @synthesize model = _model; - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions[详细]
2023-04-09 00:44 分类:问答Garbage Collection in Flash Player
I build a simple Flex view state based video application on Flash Builder 4.5. There are 4 states. Everytime I go from State1->State2->State3 or State1->State2->State4, the memory in internet explorer[详细]
2023-04-08 22:44 分类:问答ThreadLocal<> and memory leak
.Net 4. ThreadLocal<> implements IDisposable. But it seems that calling Dispose() doesn\'t actually release references to thread local objects being held.[详细]
2023-04-08 21:14 分类:问答Why does my DLL leak when using it in an MFC SDI program using MFC as a DLL in Visual Studio 2010?
This may be better directed to Microsoft support, but was wondering if anyone had any ideas as to why this is happening.[详细]
2023-04-08 21:07 分类:问答