필터 지우기
필터 지우기

HELP "OUT OF MEMORY"

조회 수: 2 (최근 30일)
Elysi Cochin
Elysi Cochin 2014년 4월 28일
댓글: Matt J 2014년 5월 21일
i execute a program in matlab... and it runs fine.... when i execute it for the second time it says
"OUT OF MEMORY"
i typed
"clear all"
and executed it still it says "out of memory"... but if i close matlab and execute it refreshly it will execute... what should i do to rectify this error
  댓글 수: 2
Oliver Woodford
Oliver Woodford 2014년 4월 28일
Please provide more details about the program. Is it written in pure MATLAB or does it call external code such as a C library or a mex file?
Elysi Cochin
Elysi Cochin 2014년 4월 28일
편집: Elysi Cochin 2014년 4월 28일
sorry, yes it calls MEX files.....

댓글을 달려면 로그인하십시오.

채택된 답변

Matt J
Matt J 2014년 4월 28일
Also, try "clear classes". It is more verbose than "clear all", so you might get more informative messages, particularly if you have memory allocated by graphics objects.

추가 답변 (1개)

Matt J
Matt J 2014년 4월 28일
편집: Matt J 2014년 4월 28일
It's a known problem unfortunately. See, for example,
Try not to allocate so much memory. Newer versions of MATLAB might also handle the problem better.
  댓글 수: 2
Elysi Cochin
Elysi Cochin 2014년 5월 21일
sir i used clear classes, it worked for the first time... but now its not working, its showing...
??? Out of memory. Type HELP MEMORY for your options.
what should i do sir....
Matt J
Matt J 2014년 5월 21일
What messages does "clear classes" return?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by