Hashtable Enumerator als Speicherfresser ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hallo,

ich bin auf der Suche nach einem Speicherfresser. Jetzt habe ich mal
den CLR Profiler und den Memory-Profiler gefragt und beide meinen, daß
ein Hashtable-Enumerator nur die ganze Zeit neue Instanzen anlegt.
Allerdings nennt mir z.B. der CLR Profiler folgenden Allocation-Stack:

System.Windows.Forms.ListControl::SetDataConnection void (Object
System.Windows.Forms.BindingMemberInfo bool): 0,0 bytes (0,00%)
System.Windows.Forms.Application::Run static void
(System.Windows.Forms.Form): 3,2 kB (100,00%)
System.Windows.Forms.Application.ThreadContext::RunMessageLoop void
(int32 System.Windows.Forms.ApplicationContext): 3,2 kB (100,00%)
System.Windows.Forms.Application.ThreadContext::RunMessageLoopInner
void (int32 System.Windows.Forms.ApplicationContext): 3,2 kB
(100,00%)

System.Windows.Forms.Application.ComponentManager::System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop
bool (int32 int32 int32): 3,2 kB (100,00%)
System.Collections.Hashtable.ValueCollection::GetEnumerator
System.Collections.IEnumerator (): 3,2 kB (100,00%)
System.Collections.Hashtable.HashtableEnumerator : 3,2 kB
(100,00%)
<bottom> : 3,2 kB (100,00%)


Das sieht ja danach aus, als ob in dem Programm die Messages nicht
ordentlich abgefragt bzw. die Hastable mit den Windows-Messages nicht
ordentlich bereinigt wird.

Irgendjemand eine Idee, wo ich da jetzt was machen kann, damit jener
Enumerator auch mal wieder runter geht ?


MFG,
Christoph Pingel

.



Relevant Pages

  • Re: Diagnosing root cause of .NET application using nearly 500 MB memo
    ... I've had some input on another group about the dump although I will explore ... I highly recomment getting a memory profiler to help see the mamanged heap ... You can use the free CLR Profiler ...
    (microsoft.public.dotnet.framework)
  • Re: Funktion im Debugger schnell sonst langsam
    ... naja den Profiler habe schon gestartet :-), aber die Laufzeit zeigte der mir ... > und Treiber/Einstellungen suchen, da kann dann VFP doch nix für... ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.fox)
  • Re: How to run aspnet with system account
    ... Wasn't the original point of this to run CLR Profiler on your ASP.NET app? ... you do need your worker process to have much higher ... or it is USUALLY too dangerous to run it as the System account. ...
    (microsoft.public.dotnet.security)
  • Re: How to run aspnet with system account
    ... Wasn't the original point of this to run CLR Profiler on your ASP.NET app? ... you do need your worker process to have much higher ... or it is USUALLY too dangerous to run it as the System account. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Profiler gesucht und Performance beim Deserialisieren von Objekten
    ... dass er Dateien nicht finden kann und die muss ich ihm ... Mir hat beim Performance messen ".net profiler" sehr geholfen. ... Prev by Date: ... Next by Date: ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)