avatar
h*n
1
I found the computers in our open lab have more than 2GByte memory.
Is it possible? The computers are Sun ULTRA 10.
I used malloc(1024*1024*1024) twice and the pointer returned is not 0.
And third time it returned 0.
Can I belive that?
avatar
m*m
2
This is virtual memory is OS. They are paged in/out between
main memory
and secondary storage (hard drive). Refer to your favorite
OS books.

【在 h****n 的大作中提到】
: I found the computers in our open lab have more than 2GByte memory.
: Is it possible? The computers are Sun ULTRA 10.
: I used malloc(1024*1024*1024) twice and the pointer returned is not 0.
: And third time it returned 0.
: Can I belive that?

avatar
a*f
3
I guess these computers have 512KB phisical memory at least. It is more
possible that they have 1GB memory installed.
As a user, you definitely have 2GB memory to use.

【在 m*******m 的大作中提到】
: This is virtual memory is OS. They are paged in/out between
: main memory
: and secondary storage (hard drive). Refer to your favorite
: OS books.

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