Navigation : Top/MATLAB/Out of Memory

  • 追加された行はこの色です。
  • 削除された行はこの色です。
[[MATLAB]]

* MATLABが使用するメモリーを [#gaaf2ccf]
** 非デスクトップ環境での起動 [#m5e17181]
MATLAB 起動時に、-nodesktop を付け加えて起動する。
*** Windows [#n2ac0dd9]
 matlab.exe -nodesktop
*** Linux [#i5915dcf]
 matlab -nodesktop
** 非Java 環境での起動 [#a06d9312]
-nojvm オプションを付ける
*** Windows [#j8aac5ad]
 matlab.exe -nojvm
*** Linux [#t89bbccd]
 matlab -nojvm

* MATLABが使用できるメモリーを拡張 [#xa054876]
使えるメモリーを確認(R14以上)
 feature('memstats')
 feature memstats
| Operating system | Process Limit |
| 32-bit Windows XP, Vista and 2000 | 2GB |
| 32-bit Windows XP with 3GB switch  | 3GB |
| 32-bit Linux | <3GB |
| 64-bit Windows XP or Linux running 32-bit MATLAB | <4GB |
| 64-bit Windows XP, Vista or Linux running 64-bit MATLAB | 8TB |
- 32-bit OS では1GBほど拡張できる.

** 32-bit OS [#e3592905]
*** Windows [#na9fd4e2]
For 32-bit Windows XP use: boot.ini
For 32-bit Windows Vista use: BCDEdit
 BCDEdit /set increaseuserva 3072
*** Linux [#u17edade]
 ulimit -m unlimited

** 64-bit OS with 32-bit MATLAB [#z3f4c760]
64-bit MATLABをインストール.



* Link [#t0ce1f19]
- http://faqmat.cybernet.co.jp/tech/faq/faqDisplay.do?r=499498859061759376&kb_id=1183
- http://faqmat.cybernet.co.jp/tech/faq/faqDisplay.do?r=8402863259740181981&kb_id=1628
- http://www.mathworks.com/support/tech-notes/1100/1107.html