Extended windows application memory to 3 GB

Source: Internet
Author: User

(1) For 32-bit windows (win2003/WINXP/win7), the maximum memory size available for applications is only 2 GB.

In different systems, you can enable the 3 GB option by using the following method, so that the application can use more than 2 GB of memory.

++

Enable 3 GB for win2003/WINXP

1. Open windows Resource Manager.
2. Click Folder Options on the Tools menu ".
3. On the "View" tab, click "show all files and folders", clear the "Hide protected operating system files" check box, and click "OK ". If the warning dialog box is displayed, click "yes" to continue.
4. Search for the boot. ini file in the root folder (such as C :) and delete its read-only attribute.
5. Open the boot. ini file and add the/3 GB parameter to the arc path,

See the following Windows Server 2003 datacenter edition example:
Multi (0) disk (0) RDISK (0) Partition (2) \ % SystemRoot % = "Windows Server 2003, datacenter edition"/3 GB
Take XP as an example. Modify the boot. ini file on the page as follows:
Timeout = 30
Default = multi (0) disk (0) RDISK (0) Partition (1) \ WINDOWS
[Operating systems]
Multi (0) disk (0) RDISK (0) Partition (1) \ Windows = "Microsoft Windows XP Professional"/noexecute = optin/fastdetect/3 GB

----------
6. Click Save on the File menu ".
7. Restore the read-only attribute of the boot. ini file.
8. To make the change take effect, restart your computer.

++

3 GB for win7

1. Enter the system32directory, right-click the mouse, and run cmd.exe with the administrator ID.
2. Enter the following command:Bcdedit/set increaseuserva 3072.To enable 3 GB memory support

++

(2) For 64-bit windows (Note: The hardware should also be a 64-bit architecture), if the program is compiled into x64, the application can use a large amount of memory.

(Note: 64-bit programs cannot run on 32-bit systems)

The 64-bit win7 system supports 3 GB memory by default (up to 4 GB ). -- Note: This feature should be available in 64-bit Windows systems.

(3) For 32-bit or 64-bit windows, to enable 32-bit applications to use 3 GB memory, you must add the following command parameters when linking/Largeaddressaware

-- Vc6 --:

-- Vs2008 --:

-----------

(4) You can enablePAE(Physical address extension.

But the premise must be the motherboard, processor, and operating system support, which can be viewed using the Everest tool.

Open method can refer to the following web page: http://baike.baidu.com/view/151009.htm

++

(5) For more information about memory support for extended applications, refer to the following link:

Http://wenku.baidu.com/view/574356b91a37f111f1855b2a.html

Http://msdn.microsoft.com/en-us/windows/hardware/gg487508.aspx

Http://www.felix021.com/blog/read.php? 983

Http://topic.csdn.net/u/20080614/15/C1FDC87A-8CF2-44E6-A56A-A2F5CDD05555.html

Http://www.geoffchappell.com/viewer.htm? Doc = Notes/Windows/license/memory.htm

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.