Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a tool that checks for potential memory leaks?
Message
De
13/02/2007 16:42:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01195165
Message ID:
01195366
Vues:
23
Einar,
Sorry couldn't locate again. It was something about thread.
Anyway I found what was causing my case:
I had a type that registers an eventhandler. Besides normal instances I had a routine where I create temporary instances (they quickly go out of scope). GC forced collection didn't help BTW (makes sense there are references). Unsubscribing the eventhandler explicitly fixed the issue.
PS: Profiler tool was a time waste for me (trying to uınderstand how it works, so I dismissed. It might be great for someone who understands it but I didn't take my time learning it).
Thanks to all who replied.
Cetin

>In theory pure managed code should not cause memory leaks. Could you please post the links you mentioned if you cn find them. Very interesting stuff.
>
>>Well yes for a second time:) I thought it was already widely known.
>>Cetin
>>
>>>Are you getting memory leaks with managed .Net code?
>>>
>>>>Yes.
>>>>Cetin
>>>>
>>>>>Are you getting memory leaks with .Net code?
>>>>>
>>>>>
>>>>>>Do you know any analyser tool that could detect code that would cause memory leaks?
>>>>>>TIA
>>>>>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform