MathWorks 日本 - How can I increase the memory allocated to MATLAB 7.3 (R2006b) process on 32-bit Windows XP, Windows Vista, and Windows 7? - MATLAB & Simulink

Subject:

How can I increase the memory allocated to MATLAB 7.3 (R2006b) process on 32-bit Windows XP, Windows Vista, and Windows 7?

Problem Description:

I installed 4GB RAM on my machine, but I can see only 2GB virtual memory (addressable space). I want MATLAB to see the additional RAM that I installed.

Solution:

In order to increase the amount of virtual memory space reserved by the operating system, use the 3GB switch in your system's boot.ini file.

For Windows XP, to edit the boot.ini file:

1. Right-click My Computer, and then click Properties.
-or-
Click Start, click Run, type sysdm.cpl, and then click OK.

2. On the Advanced tab, click Settings under Startup and Recovery.

3. Under System Startup, click Edit.

Now modify the boot.ini file by adding the /3GB and the /USERVA=3030 parameters to the startup line. Here is what a modified file may look like:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /3GB /USERVA=3030


For Windows 7 & Windows Vista:

1. Right-click Command Prompt in the Accessories program group of the Start menu. Click Run as Administrator.

2. On the command line, enter "bcdedit /set IncreaseUserVa 3072"

3. Restart the computer.

To turn off the 3GB switch on Windows 7 & Vista

1. Right-click Command Prompt in the Accessories program group of the Start menu. Click Run as Administrator.

2 .On the command line, enter "bcdedit /deletevalue IncreaseUserVa"

3. Restart the computer.


Source of instructions:


http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=9729516&linkID=9240697
For more information on the 3GB switch, refer to the following Microsoft MSDN article:

http://msdn.microsoft.com/en-us/library/ff556232.aspx