Not in GATE 2027 syllabusReport issue
Memory Allocation & Segmentation


Your answer
Answer & solution
Answer: B: 14 KB (no official key was published)
Only one sibling overlay branch needs to coexist at a time, but a descendant must coexist with its ancestors. Compute root-to-leaf sums: root-A-D=2+4+6=12; root-A-E=2+4+8=14; root-B-F=2+6+2=10; root-C-G=2+8+4=14 KB. The largest is 14 KB, so B. Summing every module would ignore overlay sharing; allocating only the largest individual module would omit resident ancestors. Module sizes were cross-checked in the clearer alternate diagram.