Increase the memory allocated to MATLAB

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

转载于:https://www.cnblogs.com/sunleecn/archive/2012/12/05/2803533.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值