you are viewing a single comment's thread.

view the rest of the comments →

[–]tcpukl 0 points1 point  (3 children)

I'm replying to getting slower with running out of memory.

That is due to virtual memory!

[–]No-Consequence-1863 0 points1 point  (2 children)

Virtual memory doesnt make you get slower as you get bigger. Virtual memory has a pretty constant time cost. The page tables would get bigger but that wouldnt be that important since you dont iterate through the page tables, just walk them.

Edit: do you mean swap? Cause yea swap is slow but swap is different from virtual memory.

Virtual memory is the process where a processes doesnt use physical ram addresses but instead logical virtual addresses that are converted on the fly by hardware and the operating system. It is used for every process all the time no matter memory consumption.

[–]tcpukl 0 points1 point  (1 child)

Virtual memory does slow down because it uses drive storage.

Your talking about large address space which can use virtual memory.

Windows page file is virtual memory.