Redian新闻
>
Re: [转载] windows access memory limit
avatar
Re: [转载] windows access memory limit# Windows - 看得见风景的窗口
e*s
1
In Win32, every process has a 4Gb virtual address space. This means that
valid addresses are in the range of 0x00000000 to 0xFFFFFFFF.
In DOS and Win16, all apps share the same address space. As a consequence,
an app can write over another app memory, including the OS. Of course this
leads to the very unpleasant situation that an app behavior depends on other
apps status. If an app writes over the system code or data areas, the system
becomes unstable and probably will crash.
Win32 solved this p
avatar
e*s
2
btw, can you divide your array to pages, so you can address them page by page,
so each time you only need to address smaller space :)

【在 e*********s 的大作中提到】
: In Win32, every process has a 4Gb virtual address space. This means that
: valid addresses are in the range of 0x00000000 to 0xFFFFFFFF.
: In DOS and Win16, all apps share the same address space. As a consequence,
: an app can write over another app memory, including the OS. Of course this
: leads to the very unpleasant situation that an app behavior depends on other
: apps status. If an app writes over the system code or data areas, the system
: becomes unstable and probably will crash.
: Win32 solved this p

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。