开发者

OutOfMemoryException - out of ideas II

This question is related to my previous question.

The storyline: I have 开发者_StackOverflow社区an .NET application which consumes a lot of memory if you look at task manager VMSize. I am trying to find out what consumes this amount of memory.

You see in the picture below that VM size is 2,46 GB

OutOfMemoryException - out of ideas II

Ok now I am looking at .net performance counters

alt text http://s006.radikal.ru/i213/1003/30/dd42433cd12d.jpg

Committed and reserved bytes add up to only 1,2 GB

Now lets look at windb sos debugging. Let's run eeheap -gc command

alt text http://s001.radikal.ru/i194/1003/e8/9da33856ed58.jpg

The heap size used by GC is only 340 MB. Where is the rest of used memory? I need to discover why WM size in TaskManager is 2.4 GB

UPDATE

--------------------------------------
Total LoaderHeap size: 0x74c000(7651328)bytes
=======================================
Number of GC Heaps: 1
generation 0 starts at 0x0000000081b89d00
generation 1 starts at 0x0000000081a83b20
generation 2 starts at 0x0000000001281000
ephemeral segment allocation context: none
         segment            begin         allocated             size
0000000001280000 0000000001281000  00000000057416a0 0x00000000044c06a0(72091296)
000000004ad00000 000000004ad01000  00000000513c1cc8 0x00000000066c0cc8(107744456)
000000007fff0000 000000007fff1000  000000008994e310 0x000000000995d310(160813840)
Large object heap starts at 0x0000000011281000
         segment            begin         allocated             size
0000000011280000 0000000011281000  00000000112c67d0 0x00000000000457d0(284624)
Total Size        0x14523e48(340934216)
------------------------------
GC Heap Size        0x14523e48(340934216)


Tess did a post on other sources of memory usage. Check https://blogs.msdn.com/tess/archive/2006/02/15/532804.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜