3 ms·
> It uses slightly more base RAM to load the binary. It's mostly vmem until / unless the data actually gets used though, no?
by masklinn 7y ago
> It uses slightly more base RAM to load the binary.
It's mostly vmem until / unless the data actually gets used though, no?
- eximius 7y agoI don't know. I wouldn't be surprised that it loaded the whole thing. How could the OS predict how much to load (or wait on)? Waiting for a page to load just for the next function call would be hugely expensive.
- masklinn 7y ago> How could the OS predict how much to load (or wait on)? The same way it does for every other bit of allocated memory: it allocates the physical page on a page fault in a valid mapping.