Can a 32-bit program run on a 64-bit system apply to 8G of memory?

Source: Internet
Author: User
Not apply, because 64 for the system in the run 32-bit program is only for backwards compatibility, for 32-bit programs, the application of 8G storage space does not make any sense, because 32-bit program maximum address space of only 4 G, 32-bit program after compiling the machine code also only 32 bits of the address number (pointer to 4 bytes), so the request for 8G space is meaningless, and the general system will set some resource limits for each process, for 32-bit programs can request the amount of memory is much less than 4G can look at the following table
Operating system internal data structure limitations comparison IT168 Evaluation Center grouping limit 64-bit Windows restriction category single process virtual space 4GB 16TB
User-mode virtual memory (32-bit applications, 32-bit Windows)
2GB 3GB (using 4GT technology while the application needs to compile with the Image_file_large_address_aware parameter)
User-mode virtual memory (32-bit application, 64-bit Windows) 2GB//This j is the maximum virtual memory available for malloc that is 32-bit programs running under 64-bit systems */4GB (Applications using Image_file_large_ Address_aware parameter compilation)
User-mode virtual memory (64-bit applications, 32-bit Windows)
32-bit Windows does not support 64-bit application user-mode virtual memory (64-bit applications, 64-bit Windows)
X64:8TB (application uses Image_file_large_address_aware) 2GB (application does not use Image_file_large_address_aware)
IA64:7TB (Application using Image_file_large_address_aware)
Kernel-mode virtual memory (32-bit Windows) 2GB 1GB (using 4GT technology)
Kernel-mode virtual memory (64-bit Windows)

Can a 32-bit program run on a 64-bit system apply to 8G of memory?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.