三瞬属性matlab,matlab:out of memory 1
問題三:Increase the size of the swap file.
wap space的設置與使用的操作系統(tǒng)有關,具體的如下:
1.UNIX
Information about swap space can be procured by typing pstat -s at the UNIX command prompt. For detailed information on changing swap space, ask your system administrator.
2.Linux
Swap space can be changed by using the mkswap and swapon commands. For more information on the above commands, type man followed by the command name at the Linux prompt.
3.Windows NT
Follow the steps shown here: Right-click the My Computer icon, and select Properties. Select the Performance tab and click the Change button to change the amount of virtual memory.
4.Windows 2000
右鍵“我的電腦”->屬性->高級->性能->設置,從而改變其虛擬內(nèi)存。
5.Windows XP
右鍵“我的電腦”->屬性->高級->性能->設置,從而改變其虛擬內(nèi)存。
問題四:盡量少時用系統(tǒng)資源(對于Windows)
Windows中字體、窗口等都是要占用系統(tǒng)資源的,所以在Matlab運行時盡量不要打開不用的窗口。
問題五:Reloading Variables on UNIX Systems
由于我不使用UNIX系統(tǒng),這里不介紹,直接從Help中粘過來
On UNIX systems, MATLAB does not return memory to the operating system even after variables have been cleared. This is due to the manner in which UNIX manages memory. UNIX does not accept memory back from a program until the program has terminated. So, the amount of memory used in a MATLAB session is not returned to the operating system until you exit MATLAB.
To free up the memory used in your MATLAB session, save your workspace variables, exit MATLAB, and then load your variables back in.
總結
以上是生活随笔為你收集整理的三瞬属性matlab,matlab:out of memory 1的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于string,我今天科普的
- 下一篇: 海店湾:劲爆!这款APP的横空出世,是美