memory-leaks
Does this event-handling code cause a memory leak?
Is this a memory leak? private void Process() { for (; ; ) { // local variable RemoteClient remoteClient = new RemoteClient(..);[详细]
2023-04-10 07:46 分类:问答Memory management of NSTimer -- does it need to be assigned to a variable?
Whenever I want to make a timer, I just do: [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(someMethod)[详细]
2023-04-10 07:06 分类:问答Will this javascript cause memory leak?
function outer(){ var a, b, c; function inner1(){ ... } function inner2(){ ... } inner1(); inner2(); ... } I want to keep the global namespace clean so I wrote above code. Inner functions are onl[详细]
2023-04-10 06:35 分类:问答UIWebview javascript leak?
I\'ve posted about this before but have been struggling to come up with a solution. Basically I have a HTML5/jQuery app within my iPad app. Every time I load an image into the UIWebView (HTML App) th[详细]
2023-04-10 05:34 分类:问答Weird leaks in UIPickerView methods
Building a custom UIPickerView for so I can let my users select time as 24 hours without having to go into the Settings app and turn on 24 hour time for the entire phone. Got some stubborn leaks of a[详细]
2023-04-10 05:31 分类:问答Troubleshooting a java memory leak: finalization?
I have a misbehaving application that seems to leak. After a brief profiler investigation, most memory (80%) is held by java.lang.ref.Finalizer instances. I suspect that finalizers fail to run.[详细]
2023-04-10 05:08 分类:问答Plugging a sortedArrayUsingSelector and/or initWithArray Memory Leak Between Classes
I\'ve been struggling to solve this memory leak for awhile now, so I\'m hoping the community can provide some help. Memory Management is still an issue I\'m working to understand (and yes I have the m[详细]
2023-04-10 04:57 分类:问答Will this code cause memory leak on my MVC application?
public class SomeViewModel { public List<Something> listOfSomethings = new List<Something>();[详细]
2023-04-10 04:55 分类:问答Android memory leak example from Google I/O
I just had a look at the google io video \"memory management for android\". Slides are available here http://dubroy.com/memory_management_for_android_apps.pdf. The memory leak example is on slide 36.[详细]
2023-04-10 04:54 分类:问答Trying to calculate large numbers in Python with gmpy. Python keeps crashing?
I was recommended to use gmpy to assist with calculating large numbers efficiently. Before I was just using python and my script ran for a day or two and then ran out of memory (not sure how that happ[详细]
2023-04-10 03:16 分类:问答