is there a common .net heap?
There's a lot. The ones you usually care about are garbage collectors 0, 1, and 2, heaps of large objects, and a bunch of loaders. Generations help make the garbage collector more efficient. LOH is used for objects that are too large to move. The loader heap stores the values ββof a static variable.
are heap apps?
No, they are based on AppDomain. AppDomains provide a cheap alternative to the process.
When I run my application, this is a new heap, created / allocated memory, or memory from the excess .net heap.
The CLR, by default, creates the main AppDomain with the heaps associated with it before your code starts working.
what happens when the .net heap runs out of source memory? Does he request more from the OS?
Yes.
source share