matlab out memory,Matlab runs out of memory

Hi there,

I've got the Matlab problem that it runs out of memory when I start the filtering preprocessing step with a bigger (150 Volumes) dataset (rest runs under windows with 4 GB RAM; Matlab 2008b). Therefore I've tried the following solution which completely crashed my system:

To Set the /3GB Startup Switch in Windows Server 2003

Right-click My Computer and select Properties. The System Properties dialog box will appear.

Click the Advanced tab.

In the Startup and Recovery area, click Settings. The Startup and Recovery dialog box will appear.

In the System startup area, click Edit. This will open the Windows boot.ini file in Notepad.

In the [Operating Systems] section, add the following switches to the end of the startup line that includes the /fastdetect switch: /3GB

Save the changes and close Notepad.

Click OK two times to close the open dialog boxes, and then restart the computer for the change to take effect.

Afterwards I saw, that you advise the following solution to this problem, which I do not dare to try after the latest desaster. Can you discribe to me what exactly is the difference between the two possibilites and how I can solve the problem if my system crashes again?

Thanks a lot!!!

Marisa

The error of out of memory depends on your available size of memory and the complexity of the memory allocating strategy. There are some suggestions to avoid this situation:

1. Reboot your computer and do not run any other programs except MATLAB, REST and DPARSF.

2. Enlarge your memory.

3. MATLAB Version 7.1 or above is suggested.

4. You can turn on the 3GB switch of Windows!!!

Enable the 3GB switch on Windows XP

Right-click My Computer. Click Properties.

In the System Properties dialog box, click the Advanced tab.

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

In the Startup and Recovery dialog box, under System startup, click Edit. The Windows boot.ini file will be opened in Microsoft® Notepad.

Create a backup copy of the boot.ini file. Note: Boot.ini files may vary from computer to computer.

Select the following line in the boot.ini file:

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

Press Ctrl+C to copy the line and then press Ctrl+V to paste it immediately below the original line.

Note: Your text string may be different from the text string in this solution, so be sure to copy the text string from your boot.ini file, and not the text string included here.

Modify the copied line to include “ /3GB”, as shown in the following example:

multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional 3GB" /3GB /fastdetect

Note: Do not overwrite any existing lines.

Save and close the boot.ini file.

Click OK to close each dialog box.

Restart your computer.

During startup, select the 3GB option. If you do not select the 3GB option, the system will default to the 2GB total memory setting.

Note: If problems occur during startup, you may need to update some of your drivers.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值