why Matlab don't use Swap but error "Out of memory"?

6 ビュー (過去 30 日間)
HaveF
HaveF 2012 年 9 月 17 日
I was wondering why Matlab don't use Swap but throw out error "Out of memory"?
It should be slow instead of throw out error "Out of memory".
Because Java related something?
added:
I know "out of memory" means it's out of contiguous memory. and Swap doesn't have contiguous memory, or? I'm confused...

採用された回答

Jan
Jan 2012 年 9 月 17 日
編集済み: Jan 2012 年 9 月 17 日
Swapping increases the available contiguos memory, but only until a certain limit. If this limit is exhausted you get the "Out of memory" error.
Even for a giantic virtual memory, a 32-bit Matlab version can access 4GB of RAM only. So please mention the version of Matlab and the OS.
  1 件のコメント
HaveF
HaveF 2012 年 9 月 19 日
Thanks! Btw, I also asked this question on stackflow.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePerformance and Memory についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by