What is the virtual Memory? [closed]

六月ゝ 毕业季﹏ 提交于 2020-01-07 03:09:33

问题


What is virtual memory? Hello

Virtual memory in Linux is quite done?


回答1:


Virtual memory is a technique implemented in most every modern operating system, that allow the user to address a virtual quantity of memory that is more than the real physical memory avaible in your machine. For example your bynaries are dived into virtual units called segments. For running a program there isn't the necessity of loading every segment of the program into memory, but only the segments that are currently used in computation. So a program typically uses less memory than which it would uses if it was completely loaded into RAM space. If the sum of all active threads in your operating system overcome the avaible space, typically the operating system Linux uses a swap partition that allow the secondary memory space (your disk) to temporarily store the unused program segments, so that the multitask scheduler can still perform its job.



来源:https://stackoverflow.com/questions/5295497/what-is-the-virtual-memory

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!