필터 지우기
필터 지우기

Why is MATLAB crashing on medium-to-large matrices?

조회 수: 4 (최근 30일)
Richard Rast
Richard Rast 2016년 3월 7일
댓글: Richard Rast 2016년 3월 7일
To keep this really short, the following code crashes MATLAB on my machine:
X = ones(100, 100);
A = X*X;
One could argue that, perhaps, MATLAB should not handle something like ones(1000000,1000000) that well; I think it should, but perhaps some reasonable size limit is acceptable. But the above is trivial; I can't imagine why it's crashing. Other similar examples result in a crash. Multiplication is what's causing the problem (e.g. addition is fine). It's related to size -- a 5x5 matrix works with no problems. And the instantiation of the matrix is also fine; I can even construct much larger matrices with no issues.
My MATLAB is version 2015b. I'm happy to supply whatever other information is relevant.
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 3월 7일
Are you using Windows 32 or Windows 64? How much RAM do you have? When you say it crashes MATLAB, do you mean that it creates the crash dialog?

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

채택된 답변

Steven Lord
Steven Lord 2016년 3월 7일
What type of processor are you using? If you're using an AMD Jaguar processor, see if the information in Bug Report 1043644 is applicable.
  댓글 수: 1
Richard Rast
Richard Rast 2016년 3월 7일
I don't believe my processor was advertised as a Jaguar, but it is AMD. I have upgraded to 2016a, so whatever the problem turned out to be, this fixed it.

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

추가 답변 (2개)

Image Analyst
Image Analyst 2016년 3월 7일
Look into memmapfile().

Chris Turnes
Chris Turnes 2016년 3월 7일
Does it create a crash log? If so, what's in the log? You can find it using the directions located here:

카테고리

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