May
30th | 2008

How to Find Memory Leaks With CLRProfiler

Posted by Shahar A |
Filed under C# |

We all know managed code can have memory leaks. You can find a good example here: A .NET memory leak you did not think about. Microsoft provides us with the CLR Profiler, an open source tool for analyzing the behavior of your managed application, which you can download here. It contains very good documentation about the different functions of the tool, however I still find it a bit hard to start with, so here is a simple step-by-step example of how to use it. After you finish downloadoing it , extract the files and open the directory. there you will find the manual, you can read it later… Navigate to CLRProfiler\Binaries\x86 (or x64) and run CLRProfiler.exe.


Continue Reading...
Mar
16th | 2008

A .NET memory leak you did not think about

Posted by Amit |
Filed under .Net |

Although the .NET Framework takes the memory management task out of your hands, there are still a few things that you must pay attention to when disposing of an object in order for the Garbage Collector to do its work properly.
You would think that once you remove the reference from an object it will eventually [...]


Continue Reading...
Mar
9th | 2008

Very Good Linq Editor

Posted by Amit |
Filed under .Net |

This one is for all you guys who are just starting to use LINQ and have no idea how to make those queries work.
I have tried it and i am glad to say that it is very friendly and usable especially if you have no experience with Linq
Linqpad is a very user friendly LINQ editor [...]


Continue Reading...

Search Dev102