Qus:    What are the divisions of the Memory Heap?
Oct 13, 2020 08:52 2 Answers Views: 105 ANANYA

 By default, when the .NET application is started and virtual address space is allocated for the process the following data structures, represented as heaps, are created:



Code Heap – storing JIT-compiled native code

Small Object Heap (SOH) – storing objects of size less than 85 kilobytes

Large Object Heap (LOH) – storing objects of size greater than 85 kilobytes

Process Heap.

Prev Next
Answers (2)
ARUNA Oct 14, 2020 02:03
Answer:   The memory heap is divided into three generations.
Generation 0 – Used to store short-lived objects. Frequent Garbage Collection happens in this Generation.
Generation 1 – Used for medium-lived objects.
Generation 2 – Used for long-lived objects.

PARTH Oct 14, 2020 09:13
Answer:   By default, when the .NET application is started and virtual address space is allocated for the process the following data structures, represented as heaps, are created:

Code Heap – storing JIT-compiled native code
Small Object Heap (SOH) – storing objects of size less than 85 kilobytes
Large Object Heap (LOH) – storing objects of size greater than 85 kilobytes
Process Heap.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect