Navigation : Top/MATLAB/Out of Memory

Out of Memory

MATLAB

MATLABが使用するメモリーを

非デスクトップ環境での起動

MATLAB 起動時に、-nodesktop を付け加えて起動する。

Windows

matlab.exe -nodesktop

Linux

matlab -nodesktop

非Java 環境での起動

  • nojvm オプションを付ける

Windows

matlab.exe -nojvm

Linux

matlab -nojvm

MATLABが使用できるメモリーを拡張

使えるメモリーを確認(R14以上)

feature memstats
Operating systemProcess Limit
32-bit Windows XP, Vista and 20002GB
32-bit Windows XP with 3GB switch3GB
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 MATLAB8TB
  • 32-bit OS では1GBほど拡張できる.

32-bit OS

Windows

For 32-bit Windows XP use: boot.ini For 32-bit Windows Vista use: BCDEdit

BCDEdit /set increaseuserva 3072

Linux

ulimit -m unlimited

64-bit OS with 32-bit MATLAB

64-bit MATLABをインストール.

Link