I have an issue in my codebase where we are not properly closing f开发者_C百科ile handles, or probably streams.We eventually get a TooManyOpenFiles exception under very heavy load.Based on the output
we are using save/opn file dialog in our desktop application(C#). When we open the dialog for the first time, handles are increased by 100. After closing the dialog the handles are not getting reduced
I have a windows application (legacy) that leaks a lot of memory. It does not leak private bytes, I only see with process explorer that it keeps loading from time to time many instances of the same (t
here is a quite cool problem. I have a python script (main) that calls a python module (foo.py) which in turns calls another python module (barwrapper.py) uses LoadLibrary to dynamically open and acc
Background: I\'m working on some code to read in data from a file. Examples of data are separated by newlines.Also, there is a meta-level to the data and a semicolon acts as a delimiter to indicate th
NSArray *arrAllAttributes = [[NSArray alloc]init]; arrAllAttributes = [app mtdAllCountry]; [arrAllAttributes retain];
I am trying to use the KeyGuardManager and KeyguardLock to unlock the phone but it only works the first few times and when I kill my application I get:
I have a Windows server application, implemented in C++ using the Win32 API, that does a lot of serial and TCP/IP communication.As it runs, CPU usage gradually increases, until it reaches 100%.Task Ma
I\'m trying to debug a memory leak in a pr开发者_运维技巧inter driver.I\'m pretty sure it\'s a resource leak, not just a plain memory leak because analyzing heap with !heap -s in windbg doesn\'t show
I am using AD开发者_运维百科O.NET (.NET 1.1) in a legacy app. I know that DataAdapter.Fill() opens and closes connections if the connection hasn\'t been opened manually before it\'s given to the DataA