Thx for answers. I am not sure if I get it right but in this logical address space how large is free memory size between stack and heap, is there something that determines that? When heap will grow into stack (inside that logical address space) or reach check, what happens then (Is the new...
But how in this case heap can grow indefinitely ? If processes are in different segments like that:
How large is free memory between stack and heap for each seegment ? What happens when heap for 1 process needs more than that?
How is memory of programs stored in RAM? The memory for a single program is represented:
Where memory reserved for stack, data , bss and code segment are fixed, but heap can grow indefinitely. Is the free memory between stack and heap all of a computer available RAM? So where is the memory...