how can i figure out iis7 memory leak from this dump result?

Posted by Cenk Erdem on Server Fault See other posts from Server Fault or by Cenk Erdem
Published on 2011-11-12T23:06:33Z Indexed on 2011/11/13 1:54 UTC
Read the original article Hit count: 1057

Filed under:
|

my application sometimes starts to eat too much memory in a few seconds then crashes, i used debugdiag to take a dump when this happened, in the analyse i see lots of memory allocations all of them has the same information and each of them allocates 128mb. they look like this:

Address 0x00000000`aff41798 Allocation Time 06:56:06 since tracking started Allocation Size 128.00 MBytes

Function Source Destination LeakTrack+186cf
clr!CExecutionEngine::ClrVirtualAlloc+3c
clr!ClrVirtualAlloc+3c
clr!WKS::virtual_alloc+42
clr!WKS::gc_heap::get_segment+a2
clr!WKS::gc_heap::get_large_segment+204
clr!WKS::gc_heap::loh_get_new_seg+78
clr! ?? ::FNODOBFM::`string'+a008a
clr!WKS::gc_heap::try_allocate_more_space+31b
clr!WKS::gc_heap::allocate_more_space+26
clr!WKS::gc_heap::allocate_large_object+6a
clr!WKS::GCHeap::Alloc+b5
clr!FramedAllocateString+b06
mscorlib_ni+39f5fd
mscorlib_ni+389f83
System_Xml_ni+451adc
System_Data_SqlXml_ni+2275d4
System_Data_SqlXml_ni+233f32
System_Data_SqlXml_ni+8ec28
System_Data_SqlXml_ni+8eb65
System_Web_ni+2882b2
System_Web_ni+2794b6
System_Web_ni+2794b6
0x7FF002474BC

what can be wrong about my code? any suggestions?

© Server Fault or respective owner

Related posts about iis7

Related posts about memory-leak