Comment by piperswe
Mapped but unused memory is imaginary (at least, on modern UNIX systems). It's not actually using any physical RAM.
Mapped but unused memory is imaginary (at least, on modern UNIX systems). It's not actually using any physical RAM.
Well, depends. Not always zero but in a good implementation not more than a few bytes per allocation, at most (if not zero).