0

My .net based application is running on a quad-core machine but when I run !eeheap -gc command it shows

Number of GC Heaps: 1

Does it mean my application is not using all 4 processors? Any idea why this may be happening and how this behaviour can be changed?

Silverlight Student
  • 3,968
  • 10
  • 37
  • 53
  • 1
    Why do you expect one GC heap per processor? Memory is shared between processors, so it doesn't make sense to have one heap per processor. – svick Jun 22 '11 at 22:21
  • @svick: Google about difference between server and workstation modes of GC. You will get the answer. – Silverlight Student Jun 23 '11 at 13:57

1 Answers1

2

You would have to enable Server GC to have multiple heaps

gcServer

<Configuration>
    <runtime>
        <gcServer enabled=“true“ />
    </runtime>
</Configuration>
Naveen
  • 4,092
  • 29
  • 31