¡@

Home 

c# Programming Glossary: leak

Find size of object instance in bytes in c#

http://stackoverflow.com/questions/1128315/find-size-of-object-instance-in-bytes-in-c-sharp

a bit of the time I was told to go find and fix a memory leak that was crashing IIS. Since I was told to find one I found.. crashed. It later turned out there had been no memory leak. Instead there was a piece of unmanaged code that was not thread..

What strategies and tools are useful for finding memory leaks in .NET?

http://stackoverflow.com/questions/134086/what-strategies-and-tools-are-useful-for-finding-memory-leaks-in-net

strategies and tools are useful for finding memory leaks in .NET I wrote C for 10 years. I encountered memory problems.. there is so much chaff floating about you can't find a leak within all the data they're trying to show you. I wonder if.. of strategies and tools are useful for tackling memory leaks in .NET c# .net memory management memory leaks share improve..

Understanding Garbage Collection in .net

http://stackoverflow.com/questions/17130382/understanding-garbage-collection-in-net

for the duration of the program that would amount to a leak. The jitter can use the table to discover that such a local..

Weak event handler model for use with lambdas

http://stackoverflow.com/questions/1747235/weak-event-handler-model-for-use-with-lambdas

in C# Can using lambdas as event handlers cause a memory leak How to unsubscribe from an event which uses a lambda expression.. of scope this answer is for you. c# .net events memory leaks lambda share improve this question 'The' answer Read more..

When should I dispose of a data context

http://stackoverflow.com/questions/389822/when-should-i-dispose-of-a-data-context

which would otherwise cause what appears to be a memory leak. The logic that automatically closes the DataContext connection.. remember a load of exceptions to it but you're unlikely to leak a resource if you do forget to dispose of it. share improve..

Why and How to avoid Event Handler memory leaks?

http://stackoverflow.com/questions/4526829/why-and-how-to-avoid-event-handler-memory-leaks

and How to avoid Event Handler memory leaks I just came to realize by reading some questions and answers.. C# or i guess other .net languages can cause common memory leaks... I have used event handlers like this in the past many times.. never realized that they can cause or have caused memory leaks in my applications. How does this work meaning why does this..

Proper use of the IDisposable interface

http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

forgot to call Dispose on your object Then they would leak some unmanaged resources Note They won't leak managed resources.. they would leak some unmanaged resources Note They won't leak managed resources because eventually the garbage collector is..

Convert DataTable to generic List?

http://stackoverflow.com/questions/545328/convert-datatable-to-generic-list

collect Ourselves Thoughts Why we think there might be a leak We are getting Out of Memory Errors. If a Page does not require.. share improve this question That won't be an actual leak but it could be stressing things unnecessarily... How many rows..

Memory Leak in C#

http://stackoverflow.com/questions/620733/memory-leak-in-c-sharp

Leak in C# Is it ever possible in a managed system to leak memory when you make sure that all handles things that implement.. be cases where some variables are left out c# .net memory leaks garbage collection managed share improve this question .. Handlers are a very common source of non obvious memory leaks. If you subscribe to an event on object1 from object2 then..

Large Object Heap Fragmentation

http://stackoverflow.com/questions/686950/large-object-heap-fragmentation

I am working on is suffering from a slow memory leak. I have used CDB with SOS to try to determine what is happening.. in a loop. This is just to prove that the memory does not leak in this scenario. Obviously it should not and it does not. In.. a dump of the LOH segment reveals the pattern I saw in the leaking application 0 000 DumpHeap 01b21000 01b8ade0 ... 01b8a120..

Can I get more than 1000 records from a DirectorySearcher in Asp.Net?

http://stackoverflow.com/questions/90652/can-i-get-more-than-1000-records-from-a-directorysearcher-in-asp-net

returned by FindAll otherwise you may have a memory leak as described in the Remarks section of the MSDN documentation..