Hacker News new | ask | show | jobs
by snet0 1950 days ago
So can you allocate more memory than what is available in this way?
1 comments

Yup! Processes see/use virtual memory, not the literal physical RAM address spaces. The kernel maintains mappings between virtual-physical and will allocate/free physical memory as needed. All of this is invisible to the process.

Pretty neat huh?