anyone can explain this error message

조회 수: 1 (최근 30일)
Brwa
Brwa 2013년 6월 7일
What does this message mean?
??? Error using ==> vertcat
Out of memory. Type HELP MEMORY for your options.

채택된 답변

Image Analyst
Image Analyst 2013년 6월 7일
It means you don't have enough memory to do the operation and create the new variable. Did you type HELP MEMORY?

추가 답변 (2개)

Iain
Iain 2013년 6월 7일
That error means that you have attempted to create a single variable that cannot fit contiguously into your system's memory.

Brwa
Brwa 2013년 6월 7일
Thank you guys
yes, i typed but i couldnt understand it cleary, but Im clear with it now.
my problem is, I have a for loop which is extremely big 200,000,000 iteration and my RAM is 4G
is there any solution?
Image Analyst, I hope this time you think my for loop is big, hehe
Best regards
  댓글 수: 2
Iain
Iain 2013년 6월 7일
Do fewer iterations?
Write whatever you're logging to file? (Do this in chunks of a few 10MB at a time, rather than per-loop)
Image Analyst
Image Analyst 2013년 6월 7일
It's not the fact that you're doing 200 million iterations, it's what you're doing inside it. And if you're concatenating something (who knows because you didn't provide code), then there is a possibility that that variable gets too big.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by