フィルターのクリア

is there any robust solution to Out of memory error in Windows 7 32 bit machine where MCR is installed?

3 ビュー (過去 30 日間)
Hi I run a MATLAB exe in a windows 32bit xp machine with 1 GB RAM without errors. If I run the code in a windows7 32 bit machine with 2.9Gb or 3.3 Gb RAM MATLAB gives the message "out or memory" How I can solve the problem? thanks in advance

回答 (3 件)

Walter Roberson
Walter Roberson 2013 年 8 月 20 日
Check whether the xp machine has been configured for a large virtual memory (swap space).

michele
michele 2013 年 8 月 20 日
Hi, in windows Xp virtual memory is 1.5 Gb, in windows 7 PC I set virtual memory up to 4Gb and 7Gb without any success. I suppose that "out of memory" is like a "false message" or the probelma is that windows7 use RAM in a different way of windows xp, but I am non a system manager and Idon't know windows system so well

Iain
Iain 2013 年 8 月 20 日
All you can really do is get your program to log the memory stats to give you a hint of when/why it falls over. - It may be that your Windows 7 machine is very untidy and just doesn't keep large enough swathes of memory free for you.
I use the below command to get the memory stats printed to screen.
feature 'memstats'

カテゴリ

Help Center および File ExchangeOperators and Elementary Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by